Tag Archives: encryption

(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