KeyLengthSpecification

Represents the length requirements on an algorithm key

Constructors

this
this(size_t keylen)

Constructor for fixed length keys

this
this(size_t min_k, size_t max_k, size_t k_mod)

Constructor for variable length keys

Members

Functions

keylengthMultiple
size_t keylengthMultiple()
maximumKeylength
size_t maximumKeylength()
minimumKeylength
size_t minimumKeylength()
multiple
KeyLengthSpecification multiple(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
validKeylength
bool validKeylength(size_t length)

Meta