prompt

package
v0.9.3-Beta.0...-73c8f7e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2018 License: ISC Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(r *bufio.Reader) (privPass, pubPass, seed []byte, err error)

Setup prompts for, from a buffered reader, the private and/or public encryption passphrases to secure a wallet and a previously derived wallet seed to use, if any. privPass and pubPass will always be non-nil values (private encryption is required and choosing to not use public data encryption will still encrypt the data with an insecure default), and a randomly generated seed of the recommended length will be generated and returned after the user has confirmed the seed has been backed up to a secure location.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL