4 ms·
> I want to roll my own variant of AES (I know, I know!) CTR mode for appendable (append-only) files that does not require a key change or reencrypting any full
by some_furry 2y ago
> I want to roll my own variant of AES (I know, I know!) CTR mode for appendable (append-only) files that does not require a key change or reencrypting any full AES block.
https://xyproblem.info https://xyproblem.info
Why, exactly, do you want to do that at all?
- loeg 2y agoI want the contents to be unreadable to an attacker who is able to steal a disk. I want to be able to append to files but not overwrite them in place, and do partial reads without decrypting the entire file. (Google's AES-XCTR / HCTR2 seems somewhat similar.)
- some_furry 2y agoHmm, are you familiar with NIST's workshops on accordion cipher modes? I would talk to the people involved in that effort rather than wholesaling a design from scratch.
- loeg 2y agoInteresting!