Fix typo: ANSI X.923 to ANSI X9.23 (#5989)

This commit is contained in:
Yang Yang 2021-04-20 19:31:31 +08:00 committed by GitHub
parent 94590a9aec
commit 0c4caa295e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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