Tag Archives: chunk

(Python) All-Or-Nothing Transform

Performs an all-or-nothing transform on a stream of chunks. The data can only be decrypted if every block is present to generate an HMAC for. The list of HMACs is then XOR’d against the final block from the transform, yielding the decryption key for the blocks. Currently uses the HMAC key for encryption as well [...]

Posted in Python | Also tagged , , , , , , | Leave a comment

(Python) Chunk Data for Streaming

Chunks data into block_size blocks for streaming, adds null padding.

Posted in Python | Also tagged , , , | Leave a comment