Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | lib: add GFMultiply | rsiddharth | 2020-11-08 | 1 | -0/+128 |
| | |||||
* | lib: AlphaScore -> AlphaPunchScore | rsiddharth | 2020-09-06 | 1 | -1/+1 |
| | | | | | * lib/str.go (AlphaScore): Rename to... (AlphaPunchScore): ...this. | ||||
* | lib: isAlpha -> isAlphaPunch | rsiddharth | 2020-09-06 | 1 | -2/+3 |
| | | | | | | * lib/str.go (isAlpha): Rename to... (isAlphaPunch): ...this. (AlphaScore): change isAlpha call to isAlphaPunch call. | ||||
* | lib: remove genKey | rsiddharth | 2020-09-06 | 1 | -14/+0 |
| | | | | * lib/hamming.go (genKey): Remove function. | ||||
* | lib: update KeySizeWithMinDistance | rsiddharth | 2020-09-06 | 1 | -3/+3 |
| | | | | | | * lib/hamming.go (KeySizeWithMinDistance): Add argument 'bs'. Use first K bytes and next K bytes of 'bs' for 'p' and 'q'. | ||||
* | lib: remove KeySizeWithMinDistanceIter | rsiddharth | 2020-09-06 | 1 | -15/+0 |
| | |||||
* | lib: add BreakIntoBlocks | rsiddharth | 2020-09-06 | 1 | -1/+1 |
| | | | | * lib/blocks.go (BreakIntoBlocks): Fix typo -- 8 -> keysize. | ||||
* | lib: update XORCrackSingleKey | rsiddharth | 2020-09-06 | 1 | -5/+5 |
| | | | | | * lib/brute.go (XORCrackSingleKey): Simplify function; use FillBytes and FixedXORBytes | ||||
* | lib: update isAlpha | rsiddharth | 2020-09-06 | 1 | -0/+6 |
| | | | | * lib/str.go (isAlpha): Add common punctuation. | ||||
* | lib: add FillBytes | rsiddharth | 2020-09-06 | 1 | -0/+11 |
| | | | | * lib/str.go (FillBytes): New function. | ||||
* | lib: add FixedXORBytes | rsiddharth | 2020-09-06 | 1 | -0/+12 |
| | | | | * lib/xor.go (FixedXORBytes): New function. | ||||
* | lib: add TransposeBlocks | rsiddharth | 2020-09-06 | 1 | -0/+17 |
| | | | | * lib/blocks.go (TransposeBlocks): New function. | ||||
* | lib: add BreakIntoBlocks | rsiddharth | 2020-09-06 | 1 | -0/+32 |
| | | | | * lib/blocks.go (BreakIntoBlocks): New function. | ||||
* | lib: add AlphaScore | rsiddharth | 2020-09-05 | 1 | -0/+10 |
| | | | | * lib/str.go (AlphaScore): New function. | ||||
* | lib: add isAlpha | rsiddharth | 2020-09-05 | 1 | -0/+10 |
| | | | | * lib/str.go (isAlpha): New function. | ||||
* | lib: move around stripSpaceChars | rsiddharth | 2020-09-05 | 2 | -15/+15 |
| | | | | | * lib/b64.go (stripSpaceChars): Move to... * lib/str.go (stripSpaceChars): ...here. | ||||
* | lib: add Base64ToBytes | rsiddharth | 2020-09-05 | 1 | -0/+32 |
| | | | | | | * lib/b64.go (Base64ToBytes): New function. lib/b64.go | ||||
* | lib: add index | rsiddharth | 2020-09-05 | 1 | -0/+10 |
| | | | | * lib/b64.go (index): New function. | ||||
* | lib: add stripSpaceChars | rsiddharth | 2020-09-05 | 1 | -0/+15 |
| | | | | * lib/b64.go (stripSpaceChars): New function. | ||||
* | lib: add KeySizeWithMinDistanceIter | rsiddharth | 2020-09-05 | 1 | -0/+14 |
| | | | | * lib/hamming.go (KeySizeWithMinDistanceIter): New function. | ||||
* | lib: add KeySizeWithMinDistance | rsiddharth | 2020-09-05 | 1 | -0/+23 |
| | | | | * lib/hamming.go (KeySizeWithMinDistance): New function. | ||||
* | lib: update HammingDistance | rsiddharth | 2020-09-05 | 1 | -1/+1 |
| | | | | lib/hamming.go (HammingDistance): Change type of arguments to []byte. | ||||
* | lib: add genKey | rsiddharth | 2020-09-05 | 1 | -0/+14 |
| | | | | * lib/hamming.go (genKey): New function. | ||||
* | lib: add HammingDistance | rsiddharth | 2020-09-04 | 1 | -0/+27 |
| | | | | * lib/hamming.go (HammingDistance, setBits): New functions. | ||||
* | lib/hex.go: update ByteToHexStr | rsiddharth | 2020-08-31 | 1 | -10/+10 |
| | | | | * lib/hex.go (ByteToHexStr): Move around. |