BlockCipher

This class represents a block cipher object.

Members

Functions

blockSize
size_t blockSize()
clone
BlockCipher clone()
decrypt
void decrypt(const(ubyte)* input, ubyte* output)

Decrypt a block.

decrypt
void decrypt(ubyte* block)

Decrypt a block.

decrypt
void decrypt(ubyte[] block)

Decrypt a block.

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

Decrypt one or more blocks

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

Decrypt one or more blocks

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

Decrypt one or more blocks

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

Decrypt one or more blocks

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

Encrypt a block.

encrypt
void encrypt(ubyte* block)

Encrypt a block.

encrypt
void encrypt(ubyte[] block)

Encrypt a block.

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

Encrypt one or more blocks

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

Encrypt one or more blocks

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

Encrypt one or more blocks

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

Encrypt one or more blocks

parallelBytes
size_t parallelBytes()

Properties

parallelism
size_t parallelism [@property getter]

Meta