Commit a9a4a090 authored by Moul's avatar Moul Committed by Vincent Texier

[typo] correction to 'nonce'

parent ed758c07
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment