summaryrefslogtreecommitdiffstats
path: root/challenge
Commit message (Collapse)AuthorAgeFilesLines
* challenge: do challenge 15rsiddharth2021-01-261-0/+40
|
* challenge: add output for challenge 14rsiddharth2021-01-251-0/+7
|
* challenge: freshSheepBlock -> freshSheepBytesrsiddharth2021-01-252-8/+8
|
* challenge: do challenge 14rsiddharth2021-01-251-0/+128
|
* challenge: fix findUnknownStringCharacteristicsrsiddharth2021-01-191-1/+1
|
* challenge/ch13.go -> challenge/c13.gorsiddharth2020-12-211-0/+0
|
* do challenge 13rsiddharth2020-12-211-0/+30
|
* challenge: do challenge 12rsiddharth2020-12-131-0/+121
|
* lib/blocks: rename CipherIsECB -> CipherUsesECBrsiddharth2020-12-122-2/+2
|
* do challenge 11rsiddharth2020-12-101-0/+37
|
* lib/blocks: BlockIsECB -> CipherIsECBrsiddharth2020-12-091-1/+1
|
* lib/aes: update AESEncryptCBCrsiddharth2020-12-091-11/+7
| | | | Add padding
* lib/blocks: move isECB from ch. 8 in here as BlockIsECBrsiddharth2020-12-081-24/+1
|
* challenge: fix typo in challenge 08rsiddharth2020-12-061-2/+2
|
* challenge: fix challenge 08rsiddharth2020-12-061-4/+4
|
* challenge: complete challenge 10rsiddharth2020-12-061-4/+24
|
* lib/aes: AESDecrypt -> AESDecryptECBrsiddharth2020-12-051-1/+1
|
* challenge: c10: specify data type for NIST SP 800-38A varsrsiddharth2020-12-051-3/+3
|
* challenge: c10: cosmetic edit to cryptopals 10 testrsiddharth2020-12-051-8/+4
|
* challenge: c10: cosmetic edit to NIST SP 800-38A testrsiddharth2020-12-051-12/+13
|
* challenge: ch10: add NIST SP 800-38A F.2.2 decryption testrsiddharth2020-12-051-83/+97
|
* challenge: do some of challenge 10rsiddharth2020-12-051-0/+175
|
* challenge/09: change block size to 20rsiddharth2020-11-281-3/+2
|
* challenge/09: add outputrsiddharth2020-11-281-0/+6
|
* challenge: do challenge 09rsiddharth2020-11-281-0/+15
|
* 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-251-0/+249
|
* challenge: do challenge 7rsiddharth2020-11-221-0/+166
|
* challenge: do challenge 6rsiddharth2020-09-061-0/+122
| | | | * challenge/c06.go: Implement challenge 6.
* lib: BytesToHexStr -> AsciiStrToHexStrrsiddharth2020-08-311-1/+1
| | | | | | * challenge/c05.go (C5): Change BytesToHexStr call to AsciiStrToHexStr * lib/hex.go (BytesToHexStr): Rename to... (AsciiStrToHexStr): ...this. Change argument to string.
* challenge: do challenge 5rsiddharth2020-08-301-0/+21
| | | | | | | * challenge/c05.go: Implement challenge 5. * cryptopals.go (main): Add handling to run challenge 5. * lib/hex.go (BytesToHexStr): New function. * lib/xor.go (RepeatingXOR): New function.
* challenge/c04.go: add licensersiddharth2020-08-301-0/+3
|
* challenge: do challenge 4rsiddharth2020-08-301-0/+363
| | | | | * challenge/c04.go: Implement challenge 4. * cryptopals.go (main): Add handling to run challenge 4.
* challenge: do challenge 3rsiddharth2020-08-291-0/+17
| | | | | | | | * challenge/c03.go: Implement challenge 3 * cryptopals.go (main): Add handling to run challenge 3 * lib/brute.go (XORCrackSingleKey): New function. * lib/hex.go (HexStrToAsciiStr, ByteToHexStr): New functions. * lib/str.go (FillStr): New function.
* rename package enc -> hexrsiddharth2020-08-292-4/+4
| | | | | | | | | * Makefile (fmt): fmt lib instead of enc * challenge/c01.go: Use lib instead of enc * challenge/c02.go: Use lib instead of enc * enc/b64.go -> lib/b64.go * enc/hex.go -> lib/hex.go * enc/xor.go -> lib/xor.go
* challenge/c02.go: add license headerrsiddharth2020-08-291-0/+3
|
* challenge: do challenge 2rsiddharth2020-08-291-0/+14
| | | | | | | * challenge/c02.go: Challenge 2 snafu. * cryptopals.go: Add challenge 2. * enc/hex.go (DecToHexChar): New function. * enc/xor.go (FixedXOR): New function.
* challenge/c1.go -> challenge/c01.gorsiddharth2020-08-291-0/+0
|
* c1.go -> challenge/c1.gorsiddharth2020-08-291-0/+16