Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeyFrom ¶
KeyFrom generates an ed25519 keypair from an input password by first hashing the input and then inputting the resulting hash into scrypt with recommended params. Finally, this scrypted key is used as the seed for an ed25519 key pair. Caller must store the salt in addition to the pwrod if it's needed
func RandomBytes ¶
randomBytes returns up to <size> crypto-random bytes
func RandomUint64 ¶
RandomUint64 returns a crypto-random integer between 0 and the maximum possible unsigned 64 bit integer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.