[Cryptography-dev] Create Fernet API allowing streaming encryption and decryption from file-like objects.

Michael Iverson dr.michael.iverson at gmail.com
Mon Jan 19 17:48:10 CET 2015


>
>
> To handle missing or out of order chunks, you could maintain an hmac
> digest of all blocks processed prior to the current block, in addition to
> the added block. A missing block would cause the HMAC to fail. There would
> also need to be a method to ensure that we only a certain number of chunks.
>
>
Sorry, the last sentence was incoherent. I meant to say you'd need to be
able to identify a truncated stream of chunks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cryptography-dev/attachments/20150119/8536e72c/attachment.html>


More information about the Cryptography-dev mailing list