mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
Fix typo: ANSI X.923 to ANSI X9.23 (#5989)
This commit is contained in:
parent
94590a9aec
commit
0c4caa295e
1 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ multiple of the block size.
|
|||
|
||||
.. versionadded:: 1.3
|
||||
|
||||
`ANSI X.923`_ padding works by appending ``N-1`` bytes with the value of
|
||||
`ANSI X9.23`_ padding works by appending ``N-1`` bytes with the value of
|
||||
``0`` and a last byte with the value of ``chr(N)``, where ``N`` is the
|
||||
number of bytes required to make the final block of data the same size as
|
||||
the block size. A simple example of padding is:
|
||||
|
|
@ -127,4 +127,4 @@ multiple of the block size.
|
|||
:raises ValueError: When trying to remove padding from incorrectly
|
||||
padded data.
|
||||
|
||||
.. _`ANSI X.923`: https://en.wikipedia.org/wiki/Padding_%28cryptography%29#ANSI_X9.23
|
||||
.. _`ANSI X9.23`: https://en.wikipedia.org/wiki/Padding_%28cryptography%29#ANSI_X9.23
|
||||
|
|
|
|||
Loading…
Reference in a new issue