StdSecureNet.generateKeyPair

class StdSecureNet
void
generateKeyPair
(
scope const(char[]) passphrase
,
scope const(char[]) salt = null
,
void delegate
(
scope const(ubyte[]) data
)
pure @safe
dg = null
)
in (_secret is null)

Parameters

passphrase const(char[])

Passphrase is compatible with bip39

salt const(char[])

In bip39 the salt should be "mnemonic"~word