mirror of
https://github.com/Legrandin/pycryptodome.git
synced 2025-12-08 05:19:46 +00:00
Support for XChaCha20 and XChaCha20-Poly1305
This commit is contained in:
parent
14528bd87a
commit
c09ed08d76
9 changed files with 271 additions and 67 deletions
|
|
@ -56,7 +56,7 @@ class Poly1305_MAC(object):
|
|||
def __init__(self, r, s, data):
|
||||
|
||||
if len(r) != 16:
|
||||
raise ValueError("Paramater r is not 16 bytes long")
|
||||
raise ValueError("Parameter r is not 16 bytes long")
|
||||
if len(s) != 16:
|
||||
raise ValueError("Parameter s is not 16 bytes long")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue