password

package
v2.1.6 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Passwd string
)

Functions

func GetAccountPassword

func GetAccountPassword() ([]byte, error)

GetAccountPassword gets the node's wallet password from the command line, the NKN_WALLET_PASSWORD environment variable, or user input, in this order

func GetConfirmedPassword

func GetConfirmedPassword() ([]byte, error)

GetConfirmedPassword gets double confirmed password from user input

func GetPassword

func GetPassword(prompts string) ([]byte, error)

GetPassword gets password from user input

func ReadPasswordFile

func ReadPasswordFile() ([]byte, error)

func SavePassword

func SavePassword(pwd string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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