keypair: Generate a public key and private key pair

Description Usage Arguments Value Examples

Description

Using sodium's 'keygen' and 'pubkey' based on curve25519

Usage

1
keypair(seed = NULL)

Arguments

seed

A raw object. If NULL, a randon seed will be chosen.

Value

A list with:

Examples

1
2
temp <- keypair()
str(temp)

safer documentation built on May 1, 2019, 10 p.m.