Using sodium's 'keygen' and 'pubkey' based on curve25519
keypair(seed = NULL)
seed | A raw object. If NULL, a randon seed will be chosen. |
---|
A list with:
public_key: A raw object
private_key: A raw object
seed: A raw object
#> List of 3 #> $ public_key : raw [1:32] 32 43 a4 7d ... #> $ private_key: raw [1:32] 97 0c fd 0c ... #> $ seed : raw [1:32] 01 91 5f 89 ...