about summary refs log tree commit diff
path: root/.nixery
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-01-04T20·44-0800
committerclbot <clbot@tvl.fyi>2022-01-08T05·51+0000
commitfad38387af3b6a5ed0d8f3042e2ac0a6ceabf45a (patch)
treeb68d2a4e633715a11db98028f82863ceed5ec452 /.nixery
parent7aaddb3d31dabff196eb9ef27666099c00dd5338 (diff)
feat(wpcarro/cryptopals): Support repeating key cipher r/3548
I think this is a form of symmetric encryption where the passphrase (e.g. "ICE")
is repeated (e.g. "ICEICEICEICEI...") until it matches the length of the
cleartext string; after that, the two byte-strings are XOR'd against one another
and then encoded as hexadecimal creating the ciphertext.

Change-Id: Ib148f06d6c42a41377d1df1f0738d77da935a9f6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4789
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Diffstat (limited to '.nixery')
0 files changed, 0 insertions, 0 deletions