diff options
author | William Carroll <wpcarro@gmail.com> | 2022-01-04T20·44-0800 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-01-08T05·51+0000 |
commit | fad38387af3b6a5ed0d8f3042e2ac0a6ceabf45a (patch) | |
tree | b68d2a4e633715a11db98028f82863ceed5ec452 /users/wpcarro/scratch/deepmind | |
parent | 7aaddb3d31dabff196eb9ef27666099c00dd5338 (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 'users/wpcarro/scratch/deepmind')
0 files changed, 0 insertions, 0 deletions