Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lib: update Pkcs7PaddingUndo | rsiddharth | 2021-01-26 | 1 | -1/+10 |
| | | | | Add validation. | ||||
* | challenge: do challenge 14 | rsiddharth | 2021-01-25 | 1 | -1/+1 |
| | |||||
* | lib: add HasConsecutiveMatchingBlocks | rsiddharth | 2021-01-12 | 1 | -0/+14 |
| | |||||
* | lib: add OracleAESVarEncryptECB | rsiddharth | 2021-01-12 | 1 | -0/+6 |
| | | | | For challenge 14. This will be used as the `AES-128-ECB` function. | ||||
* | lib: add oracleRandom | rsiddharth | 2021-01-12 | 1 | -0/+6 |
| | | | | For challenge 14. This will be used as the `random-prefix`. | ||||
* | lib: update randomBytes | rsiddharth | 2021-01-12 | 1 | -14/+2 |
| | | | | Use randomInt to get the random byte array length. | ||||
* | lib: add randomInt | rsiddharth | 2021-01-12 | 1 | -0/+19 |
| | |||||
* | lib/web: update import statment | rsiddharth | 2020-12-21 | 1 | -3/+1 |
| | |||||
* | lib: add web.go | rsiddharth | 2020-12-20 | 1 | -0/+96 |
| | | | | For challenge 13. | ||||
* | lib/str: add StrSplitAt | rsiddharth | 2020-12-20 | 1 | -0/+17 |
| | |||||
* | lib/str: add NumToStr | rsiddharth | 2020-12-20 | 1 | -0/+9 |
| | |||||
* | lib/str: add NumToChar | rsiddharth | 2020-12-20 | 1 | -0/+8 |
| | |||||
* | lib/aes: add OracleAESEncryptECB | rsiddharth | 2020-12-13 | 1 | -0/+18 |
| | |||||
* | lib/blocks: rename CipherIsECB -> CipherUsesECB | rsiddharth | 2020-12-12 | 1 | -1/+1 |
| | |||||
* | lib/blocks: BlockIsECB -> CipherIsECB | rsiddharth | 2020-12-09 | 1 | -1/+1 |
| | |||||
* | lib/oracle.go: add OracleAESRandomEncrypt | rsiddharth | 2020-12-09 | 1 | -0/+68 |
| | |||||
* | lib/aes: update AESEncryptCBC | rsiddharth | 2020-12-09 | 1 | -0/+7 |
| | | | | Add padding | ||||
* | lib/aes: update AESEncryptECB | rsiddharth | 2020-12-09 | 1 | -0/+7 |
| | | | | Add padding. | ||||
* | lib/aes: update AESEncrryptECB | rsiddharth | 2020-12-09 | 1 | -3/+3 |
| | | | | Change argument name `cipher` to `plain`. | ||||
* | lib/blocks: add Pkcs7PaddingUndo | rsiddharth | 2020-12-09 | 1 | -0/+5 |
| | |||||
* | lib/blocks: move isECB from ch. 8 in here as BlockIsECB | rsiddharth | 2020-12-08 | 1 | -0/+23 |
| | |||||
* | lib/hex: add PrettifyHexStr | rsiddharth | 2020-12-06 | 1 | -0/+12 |
| | |||||
* | lib/hex: update BytesToHexStr | rsiddharth | 2020-12-06 | 1 | -1/+1 |
| | | | | Don't add space character. | ||||
* | lib/aes: add AESEncryptCBC | rsiddharth | 2020-12-06 | 1 | -1/+17 |
| | |||||
* | lib/aes: add AESEncryptECB | rsiddharth | 2020-12-06 | 1 | -0/+14 |
| | |||||
* | lib/aes: add aesCipher | rsiddharth | 2020-12-06 | 1 | -0/+36 |
| | |||||
* | lib/aes: add aesMixColumns | rsiddharth | 2020-12-06 | 1 | -0/+19 |
| | |||||
* | lib/aes: add aesSubBytes | rsiddharth | 2020-12-06 | 1 | -0/+13 |
| | |||||
* | lib/aes: add aesShiftRows | rsiddharth | 2020-12-06 | 1 | -0/+14 |
| | |||||
* | lib/aes: AESDecrypt -> AESDecryptECB | rsiddharth | 2020-12-05 | 1 | -1/+1 |
| | |||||
* | lib/hex: add HexStrToBytes | rsiddharth | 2020-12-05 | 1 | -0/+19 |
| | |||||
* | lib/aes.go: add AESDecryptCBC | rsiddharth | 2020-12-05 | 1 | -0/+16 |
| | |||||
* | lib: blocks: add Pkcs7Padding | rsiddharth | 2020-11-28 | 1 | -0/+13 |
| | |||||
* | lib: blocks: add BlocksEqual | rsiddharth | 2020-11-25 | 1 | -0/+13 |
| | |||||
* | lib: aes: fix AESDecrypt | rsiddharth | 2020-11-23 | 1 | -1/+1 |
| | |||||
* | lib: aes: add 'aes' prefix to AES related functions | rsiddharth | 2020-11-22 | 1 | -21/+21 |
| | |||||
* | lib: str: add BytesToStr | rsiddharth | 2020-11-22 | 1 | -0/+8 |
| | |||||
* | lib: str: add StrToBytes | rsiddharth | 2020-11-22 | 1 | -0/+8 |
| | |||||
* | lib: aes: add AESDecrypt | rsiddharth | 2020-11-22 | 1 | -0/+13 |
| | |||||
* | lib: aes: add AESInvCipher | rsiddharth | 2020-11-22 | 1 | -0/+34 |
| | |||||
* | lib: aes: add InvMixColumns | rsiddharth | 2020-11-22 | 1 | -0/+19 |
| | |||||
* | lib: gf: fix GFMultiply | rsiddharth | 2020-11-22 | 1 | -2/+2 |
| | | | | | The logXPlusOneOf[a] + logXPlusOneOf[b] addition can go over 255, so make it a uint16 addition. | ||||
* | lib: aes: add InvSubBytes | rsiddharth | 2020-11-21 | 1 | -0/+33 |
| | |||||
* | lib: aes: add InvShiftRows | rsiddharth | 2020-11-21 | 1 | -0/+13 |
| | |||||
* | lib: aes: add AddRoundKey | rsiddharth | 2020-11-17 | 1 | -0/+24 |
| | |||||
* | lib: update MkState docstring | rsiddharth | 2020-11-17 | 1 | -1/+1 |
| | |||||
* | lib: add MkState | rsiddharth | 2020-11-16 | 1 | -0/+17 |
| | |||||
* | lib/aes.go: fix KeyExpansion docstring | rsiddharth | 2020-11-16 | 1 | -1/+1 |
| | |||||
* | lib/aes.go: add KeyExpansion | rsiddharth | 2020-11-14 | 1 | -0/+97 |
| | | | | Written while listening to Neil Young's Decade. | ||||
* | lib: add BytesToHexStr | rsiddharth | 2020-11-14 | 1 | -0/+9 |
| |