diff options
| author | Stefano Rivera <stefano@rivera.za.net> | 2012-05-27 17:41:46 +0100 |
|---|---|---|
| committer | Stefano Rivera <stefano@rivera.za.net> | 2012-05-27 17:41:46 +0100 |
| commit | cbc13b3f4203ceec940cf90e32962a85650226fd (patch) | |
| tree | bcde2d2afd40cd214d8fac06ff0e6232dd5784da /lib/Crypto/Cipher/CAST.py | |
| parent | 761eb61d2eee8e18e63812ac207d671b2a026eca (diff) | |
| download | pycrypto-cbc13b3f4203ceec940cf90e32962a85650226fd.tar.gz | |
Update docstring. IVs are no longer optional
Diffstat (limited to 'lib/Crypto/Cipher/CAST.py')
| -rw-r--r-- | lib/Crypto/Cipher/CAST.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Crypto/Cipher/CAST.py b/lib/Crypto/Cipher/CAST.py index f08dab3..5f009a7 100644 --- a/lib/Crypto/Cipher/CAST.py +++ b/lib/Crypto/Cipher/CAST.py @@ -88,8 +88,7 @@ def new(key, *args, **kwargs): actually the *encrypted* IV which was prefixed to the ciphertext). It is mandatory. - For all other modes, it must be `block_size` bytes longs. It is optional and - when not present it will be given a default value of all zeroes. + For all other modes, it must be `block_size` bytes longs. counter : callable (*Only* `MODE_CTR`). A stateful function that returns the next *counter block*, which is a byte string of `block_size` bytes. |
