Commit Graph

11 Commits

Author SHA1 Message Date
Martin Dosch
1214e7920f Revert "Ox: Improve rpad"
This reverts commit 83c92bd4cc.
2022-05-03 17:40:47 +02:00
Martin Dosch
83c92bd4cc Ox: Improve rpad
Pad to a multiple of 200 bytes as recommended.
2022-05-03 17:35:46 +02:00
Martin Dosch
433e974a4a Clean up. 2022-05-02 16:13:00 +02:00
Martin Dosch
917dabe6af Ox: Improve rpad generation. 2022-05-02 15:07:58 +02:00
Martin Dosch
6556ab1188 Ox: Change rpad from random length to length dependent on message length
The length of message + the length of the rpad will always be a
total length of a multiple of 100.
2022-04-29 11:36:41 +02:00
Martin Dosch
13dc48bbb4 Remove println. 2022-04-28 17:40:39 +02:00
Martin Dosch
658ef9b653 Ox: Use crypto/rand instead of math/rand for rpad. 2022-04-28 17:39:00 +02:00
Martin Dosch
644b1f809d Use shorter random string for resource. 2022-04-23 23:40:15 +02:00
Martin Dosch
20953ab1ac Move file reading into own helper func. 2022-04-18 10:16:00 +02:00
Martin Dosch
e9e0d8c735 Add experimental Ox (OpenPGP for XMPP) support. 2022-04-17 17:16:29 +02:00
Martin Dosch
3c9f8fac45 Move id function to helpers file. 2022-04-09 11:00:38 +08:00