From 17eb984585520a7009bbf23ce6dbbfe045002a17 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Tue, 14 Oct 2008 19:33:36 +0200 Subject: [PATCH] typos --- src/CryptoPlus/Cipher/blockcipher.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CryptoPlus/Cipher/blockcipher.py b/src/CryptoPlus/Cipher/blockcipher.py index 0b3f086..b0dc80c 100644 --- a/src/CryptoPlus/Cipher/blockcipher.py +++ b/src/CryptoPlus/Cipher/blockcipher.py @@ -204,12 +204,12 @@ class BlockCipher(): For OFB,CFB, CTR: an encrypted padding will be returned, making the total outputed bytes since construction of the cipher a multiple of the blocksize of that cipher. - + If the cipher has been used for decryption, the final function won't do - antyhing. You have to manually unpad if necessary. + anything. You have to manually unpad if necessary. After finalization, the chain can still be used but the IV, counter etc - aren't reset but just continu as they were after the last step (finalization step). + aren't reset but just continue as they were after the last step (finalization step). """ assert self.mode not in (MODE_XTS, MODE_CMAC) # finalizing (=padding) doesn't make sense when in XTS or CMAC mode if self.ed == 'e': -- 2.11.4.GIT