botan v1.13.4 (2023-03-01T00:35:38Z)
Dub
Repo
SymmetricAlgorithm.setKey
botan
algo_base
sym_algo
SymmetricAlgorithm
Set the symmetric key of this object.
void
setKey
(SymmetricKey key)
void
setKey
(RefCounted!(Vector!(ubyte, Alloc), Alloc) key)
void
setKey
(Vector!(ubyte, Alloc) key)
interface
SymmetricAlgorithm
public final
void
setKey
(
Alloc
)
(
auto
const
ref
Vector
!(
ubyte
,
Alloc
)
key
)
void
setKey
(const(ubyte)* key, size_t length)
Parameters
key
Vector
!(
ubyte
,
Alloc
)
the
SymmetricKey
to be set.
Meta
Source
See Implementation
botan
algo_base
sym_algo
SymmetricAlgorithm
functions
clear
keySchedule
keySpec
maximumKeylength
minimumKeylength
setKey
validKeylength
properties
name
Set the symmetric key of this object.