Block Cipher Base Class
This class represents a block cipher object.
Encrypt a block.
const(ubyte)* input | The plaintext block to be encrypted as a ubyte array. |
ubyte* output | The ubyte array designated to hold the encrypted block. |
Decrypt a block.
const(ubyte)* input | The ciphertext block to be decypted as a ubyte array. |
ubyte* output | The ubyte array designated to hold the decrypted block. |
Encrypt a block.
ubyte* block | the plaintext block to be encrypted |
Decrypt a block.
ubyte* block | the ciphertext block to be decrypted |
Encrypt a block.
ubyte[] block | the plaintext block to be encrypted |
Decrypt a block.
ubyte[] block | the ciphertext block to be decrypted |
Encrypt one or more blocks
Vector!(ubyte, Alloc) block | the input/output buffer (multiple of blockSize()) |
Decrypt one or more blocks
Vector!(ubyte, Alloc) block | the input/output buffer (multiple of blockSize()) |
Encrypt one or more blocks
Vector!(ubyte, Alloc) input | the input buffer (multiple of blockSize()) |
Vector!(ubyte, Alloc2) output | the output buffer (same size as input) |
Decrypt one or more blocks
Vector!(ubyte, Alloc) input | the input buffer (multiple of blockSize()) |
Vector!(ubyte, Alloc2) output | the output buffer (same size as input) |
Encrypt one or more blocks
ubyte[] input | the input buffer (multiple of blockSize()) |
ubyte[] output | the output buffer (same size as input) |
Decrypt one or more blocks
ubyte[] input | the input buffer (multiple of blockSize()) |
ubyte[] output | the output buffer (same size as input) |
Encrypt one or more blocks
const(ubyte)* input | the input buffer (multiple of blockSize()) |
ubyte* output | the output buffer (same size as input) |
size_t blocks | the number of blocks to process |
Decrypt one or more blocks
const(ubyte)* input | the input buffer (multiple of blockSize()) |
ubyte* output | the output buffer (same size as input) |
size_t blocks | the number of blocks to process |
Represents a block cipher with a single fixed block size