fix(wpcarro/cryptopals): Update cleartext scoring algorithm

Create a frequency table of alphabetic characters by reading each character in
"Alice in Wonderland"; use this frequency table to score cleartext when decoding
ciphers.

Change-Id: Id322af64d792c15231a1a02794f396c46196c207
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4788
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
This commit is contained in:
William Carroll 2022-01-04 12:42:30 -08:00 committed by clbot
parent 7ab4493c75
commit 7aaddb3d31
3 changed files with 45 additions and 11 deletions

View file

@ -0,0 +1 @@
alice.txt