keypair {safer} | R Documentation |
Generate a public key and private key pair
Description
Using sodium's 'keygen' and 'pubkey' based on curve25519
Usage
keypair(seed = NULL)
Arguments
seed |
A raw object. If NULL, a randon seed will be chosen. |
Value
A list with:
public_key: A raw object
private_key: A raw object
seed: A raw object
Examples
temp <- keypair()
str(temp)
[Package safer version 0.2.1 Index]