SymmetricAlgorithm

This class represents a symmetric algorithm object.

Members

Functions

clear
void clear()

Clear underlying buffers

keySchedule
void keySchedule(const(ubyte)* key, size_t length)

Run the key schedule

keySpec
KeyLengthSpecification keySpec()
maximumKeylength
size_t maximumKeylength()
minimumKeylength
size_t minimumKeylength()
setKey
void setKey(SymmetricKey key)
void setKey(RefCounted!(Vector!(ubyte, Alloc), Alloc) key)
void setKey(Vector!(ubyte, Alloc) key)

Set the symmetric key of this object.

setKey
void setKey(const(ubyte)* key, size_t length)

Set the symmetric key of this object.

validKeylength
bool validKeylength(size_t length)

Check whether a given key length is valid for this algorithm.

Properties

name
string name [@property getter]
Undocumented in source.

Meta