diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-10-11 19:49:57 +0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2017-10-11 07:49:57 -0400 |
commit | 1aac78c4d036d20e8892f3861ea947cadf6ab739 (patch) | |
tree | bb432229f698e613a554f23b9ec95b8ff2d20a8a /docs/hazmat/primitives/padding.rst | |
parent | a3facfae09c881b8a1953ffd7b192debc58bb5a0 (diff) | |
download | cryptography-1aac78c4d036d20e8892f3861ea947cadf6ab739.tar.gz cryptography-1aac78c4d036d20e8892f3861ea947cadf6ab739.tar.bz2 cryptography-1aac78c4d036d20e8892f3861ea947cadf6ab739.zip |
let's talk about bits baby (#3956)
Diffstat (limited to 'docs/hazmat/primitives/padding.rst')
-rw-r--r-- | docs/hazmat/primitives/padding.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/hazmat/primitives/padding.rst b/docs/hazmat/primitives/padding.rst index 45bcc139..e49fc494 100644 --- a/docs/hazmat/primitives/padding.rst +++ b/docs/hazmat/primitives/padding.rst @@ -36,8 +36,8 @@ multiple of the block size. >>> data + unpadder.finalize() '11111111111111112222222222' - :param block_size: The size of the block in bits that the data is being - padded to. + :param block_size: The size of the block in :term:`bits` that the data is + being padded to. :raises ValueError: Raised if block size is not a multiple of 8 or is not between 0 and 2040 inclusive. @@ -79,8 +79,8 @@ multiple of the block size. >>> data + unpadder.finalize() '11111111111111112222222222' - :param block_size: The size of the block in bits that the data is being - padded to. + :param block_size: The size of the block in :term:`bits` that the data is + being padded to. :raises ValueError: Raised if block size is not a multiple of 8 or is not between 0 and 2040 inclusive. |