encrypt

package
v0.0.0-...-e7ed60c Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	// contains filtered or unexported fields
}

func New

func New() *Account

func (*Account) CreateMnemonic

func (a *Account) CreateMnemonic(passPhrase string) (string, string, error)

func (*Account) DecryptContent

func (a *Account) DecryptContent(password, content string) (string, error)

func (*Account) EncryptContent

func (a *Account) EncryptContent(password, content string) (string, error)

func (*Account) GetMnemonic

func (a *Account) GetMnemonic() string

func (*Account) LoadMnemonic

func (a *Account) LoadMnemonic(mnemonic string)

func (*Account) VerifyMasterPassword

func (a *Account) VerifyMasterPassword(password string) bool

Jump to

Keyboard shortcuts

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