clamp

Transforms 32 random bytes into a valid secret key.

package @safe nothrow @nogc
void
clamp
pure
(
ubyte[] sk
)
in { assert (sk.length == 32); }

Parameters

sk
Type: ubyte[]

32 byte secret key.

Meta