ddn.crypto.key.raw

Raw secret key implementation.

Types 1

A concrete implementation of a secret key that holds the raw key bytes.

Fields
private string _algorithm
private ubyte[] _key
Methods
string algorithm() @property const nothrow @safe @nogc pure
string format() @property const nothrow @safe @nogc pure
const(ubyte)[] encoded() @property const nothrow @safe
size_t toHash() const
bool opEquals(const Key other) const
Constructors
this(string algorithm, const(ubyte)[] key)Constructs a RawSecretKey from the given byte array. Params: algorithm = The algorithm name. key = The raw key bytes.
Destructors