password

package
Version: 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: 0

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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL