From 440c4e4482c095f3a640adb0fe4f5b904ca7e5e4 Mon Sep 17 00:00:00 2001 From: Donald Stufft <donald@stufft.io> Date: Sun, 10 Mar 2013 15:36:41 -0400 Subject: [PATCH] Fix a typo in the SecretBox documentation --- nacl/secret.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nacl/secret.py b/nacl/secret.py index c76029de..54b45b71 100644 --- a/nacl/secret.py +++ b/nacl/secret.py @@ -48,10 +48,10 @@ class SecretBox(encoding.Encodable, six.StringFixer, object): ciphertext encoded with the encoder. .. warning:: It is **VITALLY** important that the nonce is a nonce, - i.e. itis a number used only once for any given key. If you fail to - do this, you compromise the privacy of the messages encrypted. Give - your nonces a different prefix, or have one side use an odd counter - and one an even counter. Just make sure they are different. + i.e. it is a number used only once for any given key. If you fail + to do this, you compromise the privacy of the messages encrypted. + Give your nonces a different prefix, or have one side use an odd + counter and one an even counter. Just make sure they are different. :param plaintext: [:class:`bytes`] The plaintext message to encrypt :param nonce: [:class:`bytes`] The nonce to use in the encryption -- GitLab