secured.symmetric

Undocumented in source.

Members

Enums

KdfAlgorithm
enum KdfAlgorithm
Undocumented in source.
SymmetricAlgorithm
enum SymmetricAlgorithm
Undocumented in source.

Functions

decrypt
ubyte[] decrypt(ubyte[] key, ubyte[] data, ubyte[] additional)
Undocumented in source. Be warned that the author may not have intended to support it.
decrypt_ex
ubyte[] decrypt_ex(ubyte[] key, ubyte[] iv, ubyte[] data, ubyte[] auth, ubyte[] additional, SymmetricAlgorithm algorithm)
Undocumented in source. Be warned that the author may not have intended to support it.
encrypt
ubyte[] encrypt(ubyte[] key, ubyte[] data, ubyte[] additional)
Undocumented in source. Be warned that the author may not have intended to support it.
encrypt_ex
ubyte[] encrypt_ex(ubyte[] key, ubyte[] data, ubyte[] additional, uint chunkSize, SymmetricAlgorithm symmetric, KdfAlgorithm kdf, uint n, ushort r, ushort p, HashAlgorithm hash)
Undocumented in source. Be warned that the author may not have intended to support it.
encrypt_ex
ubyte[] encrypt_ex(SymmetricAlgorithm algorithm, ubyte[] key, ubyte[] iv, ubyte[] data, ubyte[] additional, ubyte[] auth)
Undocumented in source. Be warned that the author may not have intended to support it.
getAuthLength
uint getAuthLength(SymmetricAlgorithm symmetric, HashAlgorithm hash)
Undocumented in source. Be warned that the author may not have intended to support it.
getCipherIVLength
uint getCipherIVLength(SymmetricAlgorithm algo)
Undocumented in source. Be warned that the author may not have intended to support it.
getCipherKeyLength
uint getCipherKeyLength(SymmetricAlgorithm algo)
Undocumented in source. Be warned that the author may not have intended to support it.
getOpenSslCipher
const(EVP_CIPHER*) getOpenSslCipher(SymmetricAlgorithm algo)
Undocumented in source. Be warned that the author may not have intended to support it.
isAeadCipher
bool isAeadCipher(SymmetricAlgorithm algo)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

CryptoHeaderVersion
enum CryptoHeaderVersion;
Undocumented in source.

Structs

CryptoBlockHeader
struct CryptoBlockHeader
Undocumented in source.

Variables

defaultChunkSize
enum uint defaultChunkSize;
Undocumented in source.
defaultKdfIterations
enum uint defaultKdfIterations;
Undocumented in source.
defaultSCryptP
enum ushort defaultSCryptP;
Undocumented in source.
defaultSCryptR
enum ushort defaultSCryptR;
Undocumented in source.
maxSCryptMemory
enum ulong maxSCryptMemory;
Undocumented in source.

Meta