-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
The AESSIV class implemented in this PR and converted in this PR
encrypt function does not support nonce
and instead passes b''
in as the nonce
always. It appears to be changed in the rust version (don't know rust very well).
Can we add nonce
as a param for AES SIV encrypt and decrypt? It feels like it should be required IMO, so people can opt-in to deterministic encryption instead of having it out of the box.
encrypt(self, data: bytes, nonce: typing.Optional[bytes], associated_data: typing.Optional[typing.List[bytes]])
Metadata
Metadata
Assignees
Labels
No labels