summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* challenge: c10: cosmetic edit to NIST SP 800-38A testrsiddharth2020-12-051-12/+13
|
* lib/hex: add HexStrToBytesrsiddharth2020-12-051-0/+19
|
* challenge: ch10: add NIST SP 800-38A F.2.2 decryption testrsiddharth2020-12-051-83/+97
|
* challenge: do some of challenge 10rsiddharth2020-12-052-0/+177
|
* lib/aes.go: add AESDecryptCBCrsiddharth2020-12-051-0/+16
|
* challenge/09: change block size to 20rsiddharth2020-11-281-3/+2
|
* challenge/09: add outputrsiddharth2020-11-281-0/+6
|
* challenge: do challenge 09rsiddharth2020-11-282-0/+17
|
* lib: blocks: add Pkcs7Paddingrsiddharth2020-11-281-0/+13
|
* README.md: update statusrsiddharth2020-11-251-0/+2
|
* challenge: c07: update outputrsiddharth2020-11-251-1/+1
|
* challenge: c06: add outputrsiddharth2020-11-251-48/+133
|
* challenge: c05: add outputrsiddharth2020-11-251-0/+5
|
* challenge: c04: add outputrsiddharth2020-11-251-28/+35
| | | | And move C4 function to the top.
* challenge: c03: add outputrsiddharth2020-11-251-0/+5
|
* challenge: c02: add outputrsiddharth2020-11-251-0/+4
|
* challenge: c01: add outputrsiddharth2020-11-251-0/+4
|
* challenge: c08: add outputrsiddharth2020-11-251-0/+5
|
* challenge: c08: update C8rsiddharth2020-11-251-5/+9
| | | | Show the 16-byte block that occurs more than once in the cipher text.
* challenge: do challenge 08rsiddharth2020-11-252-0/+251
|
* lib: blocks: add BlocksEqualrsiddharth2020-11-251-0/+13
|
* lib: aes: fix AESDecryptrsiddharth2020-11-231-1/+1
|
* cryptopals.go: add challange 7rsiddharth2020-11-221-0/+2
|
* update README.mdrsiddharth2020-11-221-2/+0
|
* challenge: do challenge 7rsiddharth2020-11-221-0/+166
|
* lib: aes: add 'aes' prefix to AES related functionsrsiddharth2020-11-221-21/+21
|
* lib: str: add BytesToStrrsiddharth2020-11-221-0/+8
|
* lib: str: add StrToBytesrsiddharth2020-11-221-0/+8
|
* lib: aes: add AESDecryptrsiddharth2020-11-221-0/+13
|
* lib: aes: add AESInvCipherrsiddharth2020-11-221-0/+34
|
* lib: aes: add InvMixColumnsrsiddharth2020-11-221-0/+19
|
* lib: gf: fix GFMultiplyrsiddharth2020-11-221-2/+2
| | | | | The logXPlusOneOf[a] + logXPlusOneOf[b] addition can go over 255, so make it a uint16 addition.
* lib: aes: add InvSubBytesrsiddharth2020-11-211-0/+33
|
* lib: aes: add InvShiftRowsrsiddharth2020-11-211-0/+13
|
* README.md: fix typorsiddharth2020-11-171-1/+1
|
* lib: aes: add AddRoundKeyrsiddharth2020-11-171-0/+24
|
* lib: update MkState docstringrsiddharth2020-11-171-1/+1
|
* lib: add MkStatersiddharth2020-11-161-0/+17
|
* lib/aes.go: fix KeyExpansion docstringrsiddharth2020-11-161-1/+1
|
* README.md: add current statusrsiddharth2020-11-141-0/+2
|
* lib/aes.go: add KeyExpansionrsiddharth2020-11-141-0/+97
| | | | Written while listening to Neil Young's Decade.
* lib: add BytesToHexStrrsiddharth2020-11-141-0/+9
|
* lib: add GFMultiplyrsiddharth2020-11-081-0/+128
|
* Makefile: 'build' and 'fmt' are phonyrsiddharth2020-11-081-0/+2
|
* update mainrsiddharth2020-09-061-0/+2
| | | | * cryptopals.go (main): Add handling to run challenge 6.
* challenge: do challenge 6rsiddharth2020-09-061-0/+122
| | | | * challenge/c06.go: Implement challenge 6.
* lib: AlphaScore -> AlphaPunchScorersiddharth2020-09-061-1/+1
| | | | | * lib/str.go (AlphaScore): Rename to... (AlphaPunchScore): ...this.
* lib: isAlpha -> isAlphaPunchrsiddharth2020-09-061-2/+3
| | | | | | * lib/str.go (isAlpha): Rename to... (isAlphaPunch): ...this. (AlphaScore): change isAlpha call to isAlphaPunch call.
* lib: remove genKeyrsiddharth2020-09-061-14/+0
| | | | * lib/hamming.go (genKey): Remove function.
* lib: update KeySizeWithMinDistancersiddharth2020-09-061-3/+3
| | | | | | * lib/hamming.go (KeySizeWithMinDistance): Add argument 'bs'. Use first K bytes and next K bytes of 'bs' for 'p' and 'q'.