Include the nonce inside the output of *Box.encrypt
* Provides the ability to pass around a single block of data instead of needing to handle transfering the nonce seperately. * Opens up an avenue for automatic nonce handling in the future. * Enables passing of nonces manually via explicit nonce parameters.
Showing
- docs/public.rst 9 additions, 4 deletionsdocs/public.rst
- docs/secret.rst 8 additions, 4 deletionsdocs/secret.rst
- nacl/public.py 19 additions, 6 deletionsnacl/public.py
- nacl/secret.py 19 additions, 5 deletionsnacl/secret.py
- nacl/utils.py 29 additions, 0 deletionsnacl/utils.py
- tests/test_box.py 25 additions, 3 deletionstests/test_box.py
- tests/test_secret.py 22 additions, 3 deletionstests/test_secret.py
Loading
Please register or sign in to comment