AES128

AES-128

Members

Functions

blockSize
size_t blockSize()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
clone
BlockCipher clone()
Undocumented in source. Be warned that the author may not have intended to support it.
decryptN
void decryptN(const(ubyte)* input, ubyte* output, size_t blocks)
Undocumented in source. Be warned that the author may not have intended to support it.
encryptN
void encryptN(const(ubyte)* input, ubyte* output, size_t blocks)
Undocumented in source. Be warned that the author may not have intended to support it.
keySchedule
void keySchedule(const(ubyte)* key, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
keySpec
KeyLengthSpecification keySpec()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

name
string name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
parallelism
size_t parallelism [@property getter]
m_DK
SecureVector!uint m_DK;
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

m_EK
SecureVector!uint m_EK;
m_MD
SecureVector!ubyte m_MD;
Undocumented in source.
m_ME
SecureVector!ubyte m_ME;
Undocumented in source.

Inherited Members

From BlockCipher

blockSize
size_t blockSize()
parallelism
size_t parallelism [@property getter]
parallelBytes
size_t parallelBytes()
encrypt
void encrypt(const(ubyte)* input, ubyte* output)

Encrypt a block.

decrypt
void decrypt(const(ubyte)* input, ubyte* output)

Decrypt a block.

encrypt
void encrypt(ubyte* block)

Encrypt a block.

decrypt
void decrypt(ubyte* block)

Decrypt a block.

encrypt
void encrypt(ubyte[] block)

Encrypt a block.

decrypt
void decrypt(ubyte[] block)

Decrypt a block.

encrypt
void encrypt(Vector!(ubyte, Alloc) block)

Encrypt one or more blocks

decrypt
void decrypt(Vector!(ubyte, Alloc) block)

Decrypt one or more blocks

encrypt
void encrypt(Vector!(ubyte, Alloc) input, Vector!(ubyte, Alloc2) output)

Encrypt one or more blocks

decrypt
void decrypt(Vector!(ubyte, Alloc) input, Vector!(ubyte, Alloc2) output)

Decrypt one or more blocks

encrypt
void encrypt(ubyte[] input, ubyte[] output)

Encrypt one or more blocks

decrypt
void decrypt(ubyte[] input, ubyte[] output)

Decrypt one or more blocks

encryptN
void encryptN(const(ubyte)* input, ubyte* output, size_t blocks)

Encrypt one or more blocks

decryptN
void decryptN(const(ubyte)* input, ubyte* output, size_t blocks)

Decrypt one or more blocks

clone
BlockCipher clone()
dup
BlockCipher dup()
Undocumented in source.

From SymmetricAlgorithm

maximumKeylength
size_t maximumKeylength()
minimumKeylength
size_t minimumKeylength()
validKeylength
bool validKeylength(size_t length)

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

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.

clear
void clear()

Clear underlying buffers

keySpec
KeyLengthSpecification keySpec()
name
string name [@property getter]
Undocumented in source.
keySchedule
void keySchedule(const(ubyte)* key, size_t length)

Run the key schedule

Meta