summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/lilliput.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/lilliput.py b/python/lilliput.py
index e92ed5f..f9c1b09 100644
--- a/python/lilliput.py
+++ b/python/lilliput.py
@@ -10,7 +10,7 @@ def _checkInputs(key, nonce):
raise ValueError('invalid key size: {} not in {}'.format(len(key)*8, valid_key_lengths))
if len(nonce) != NONCE_BYTES:
- raise ValueError('nonce must be {}-byte long'.format(N_BYTES))
+ raise ValueError('nonce must be {}-byte long'.format(NONCE_BYTES))
def mainEnc(plaintext, adata, key, nonce, mode):