Skip to content
Snippets Groups Projects
Commit a9a4a090 authored by Moul's avatar Moul Committed by Vincent Texier
Browse files

[typo] correction to 'nonce'

parent ed758c07
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ class SecretKey(libnacl.public.SecretKey):
def encrypt(self, pubkey: str, nonce: Union[str, bytes], text: Union[str, bytes]) -> str:
"""
Encrypt message text with the public key of the recipient and a noonce
Encrypt message text with the public key of the recipient and a nonce
The nonce must be a 24 character string (you can use libnacl.utils.rand_nonce() to get one)
and unique for each encrypted message.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment