botan v1.12.12 (2020-01-26T16:00:04Z)
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)
interface
SymmetricAlgorithm
final
void
setKey
(
Alloc
)
(
auto
const
ref
RefCounted
!(
Vector
!(
ubyte
,
Alloc
),
Alloc
)
key
)
void
setKey
(Vector!(ubyte, Alloc) key)
void
setKey
(const(ubyte)* key, size_t length)
Parameters
key
RefCounted
!(
Vector
!(
ubyte
,
Alloc
),
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.