diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-29 11:42:14 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-29 11:42:14 -0700 |
commit | 22e2eaee0b48318c3a3e5eda7ce9174ac8cfce6a (patch) | |
tree | 73bc4826dd999a710366a5d0e9f995713297903e /docs/hazmat/primitives | |
parent | 23aeea2527e5b2f26596488ee1635a9f48713e42 (diff) | |
download | cryptography-22e2eaee0b48318c3a3e5eda7ce9174ac8cfce6a.tar.gz cryptography-22e2eaee0b48318c3a3e5eda7ce9174ac8cfce6a.tar.bz2 cryptography-22e2eaee0b48318c3a3e5eda7ce9174ac8cfce6a.zip |
Removed helper
Diffstat (limited to 'docs/hazmat/primitives')
-rw-r--r-- | docs/hazmat/primitives/padding.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/hazmat/primitives/padding.rst b/docs/hazmat/primitives/padding.rst index 7cbadeb9..1ad2bb83 100644 --- a/docs/hazmat/primitives/padding.rst +++ b/docs/hazmat/primitives/padding.rst @@ -28,7 +28,10 @@ multiple of the block size. >>> from cryptography.hazmat.primitives import padding >>> padder = padding.PKCS7(128) - >>> padder.pad(b"1111111111") + >>> padder = padder.padder() + >>> padder.update(b"1111111111") + '' + >>> padder.finalize() '1111111111\x06\x06\x06\x06\x06\x06' :param block_size: The size of the block in bits that the data is being |