From 22e2eaee0b48318c3a3e5eda7ce9174ac8cfce6a Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Tue, 29 Oct 2013 11:42:14 -0700 Subject: Removed helper --- docs/hazmat/primitives/padding.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs') 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 -- cgit v1.2.3