summaryrefslogtreecommitdiffstats
path: root/lib/blocks.go
Commit message (Collapse)AuthorAgeFilesLines
* lib: update Pkcs7PaddingUndo, AESDecryptCBCrsiddharth2021-02-111-3/+3
| | | | | Add error as the second return value to Pkcs7PaddingUndo and AESDecryptCBC.
* lib: update Pkcs7PaddingUndorsiddharth2021-01-261-1/+10
| | | | Add validation.
* lib: add HasConsecutiveMatchingBlocksrsiddharth2021-01-121-0/+14
|
* lib/blocks: rename CipherIsECB -> CipherUsesECBrsiddharth2020-12-121-1/+1
|
* lib/blocks: BlockIsECB -> CipherIsECBrsiddharth2020-12-091-1/+1
|
* lib/blocks: add Pkcs7PaddingUndorsiddharth2020-12-091-0/+5
|
* lib/blocks: move isECB from ch. 8 in here as BlockIsECBrsiddharth2020-12-081-0/+23
|
* lib: blocks: add Pkcs7Paddingrsiddharth2020-11-281-0/+13
|
* lib: blocks: add BlocksEqualrsiddharth2020-11-251-0/+13
|
* lib: add BreakIntoBlocksrsiddharth2020-09-061-1/+1
| | | | * lib/blocks.go (BreakIntoBlocks): Fix typo -- 8 -> keysize.
* lib: add TransposeBlocksrsiddharth2020-09-061-0/+17
| | | | * lib/blocks.go (TransposeBlocks): New function.
* lib: add BreakIntoBlocksrsiddharth2020-09-061-0/+32
* lib/blocks.go (BreakIntoBlocks): New function.