dcrypt ~master (2018-06-04T17:07:07Z)
Dub
Repo
clamp
dcrypt
ecc
curve25519
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
Source
See Implementation
dcrypt
ecc
curve25519
functions
clamp
curve25519_scalarmult
variables
publicBasePoint
Transforms 32 random bytes into a valid secret key.