mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
parent
1bc46c7298
commit
49dee344a1
2 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ of a message.
|
|||
...
|
||||
cryptography.exceptions.InvalidSignature: Signature did not match digest.
|
||||
|
||||
:param key: Secret key as ``bytes``.
|
||||
:param key: The secret key.
|
||||
:type key: :term:`bytes-like`
|
||||
:param algorithm: An
|
||||
:class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm`
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ messages allows an attacker to forge tags. Poly1305 is described in
|
|||
...
|
||||
cryptography.exceptions.InvalidSignature: Value did not match computed tag.
|
||||
|
||||
:param key: Secret key as ``bytes``.
|
||||
:param key: The secret key.
|
||||
:type key: :term:`bytes-like`
|
||||
:raises cryptography.exceptions.UnsupportedAlgorithm: This is raised if
|
||||
the version of OpenSSL ``cryptography`` is compiled against does not
|
||||
|
|
|
|||
Loading…
Reference in a new issue