crypto_box_seed_keypair

Using crypto_box_seed_keypair(), the key pair can be deterministically derived from a single key seed.

  1. alias crypto_box_seed_keypair = deimos.sodium.crypto_box.crypto_box_seed_keypair
  2. bool crypto_box_seed_keypair(ubyte[crypto_box_PUBLICKEYBYTES] pkey, ubyte[crypto_box_SECRETKEYBYTES] skey, ubyte[crypto_box_SEEDBYTES] seed)
    pragma(inline, true) pure @nogc @trusted
    bool
    crypto_box_seed_keypair
    (
    out ubyte[crypto_box_PUBLICKEYBYTES] pkey
    ,
    out ubyte[crypto_box_SECRETKEYBYTES] skey
    ,
    const ubyte[crypto_box_SEEDBYTES] seed
    )

Meta