Clarify key-length terminology to match my intention

This commit is contained in:
Andrew M. Kuchling 2002-09-05 13:06:26 +00:00
parent b30961a2fe
commit c9ac030060
1 changed files with 8 additions and 3 deletions

View File

@ -130,9 +130,11 @@ Specification
An integer value; the size of the keys required by this
module, measured in bytes. If key_size is None, then the
algorithm accepts arbitrary-length keys. You cannot pass a
key of length 0 (that is, the null string '') as such a
variable-length key.
algorithm accepts variable-length keys. This may mean the
module accepts keys of any random length, or that there are a
few different possible lengths, e.g. 16, 24, or 32 bytes. You
cannot pass a key of length 0 (that is, the null string '') as
a variable-length key.
Cipher objects should have two attributes:
@ -204,6 +206,9 @@ Changes
mode; added CTR and OFB feedback modes; clarified where numbers
are measured in bytes and where in bits.
2002-09: Clarified the discussion of key length by using
"variable-length keys" instead of "arbitrary-length".
Acknowledgements