wallet

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2020 License: GPL-2.0, GPL-3.0 Imports: 5 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptSeed

func DecryptSeed(encryptedSeed []byte, seedpwd string) (string, error)

DecryptSeed decrpyts the encrypted seed and returns the raw unencrypted seed

func NewSeedStore

func NewSeedStore(path string, password string) (string, string, error)

NewSeedStore creates a new seed and stores the seed in an encrypted form in the passed path

func RetrieveSeed

func RetrieveSeed(path string, password string) (string, string, error)

RetrieveSeed retrieves the seed and publickey when an encrypted file path is passed

func ReturnPubkey

func ReturnPubkey(seed string) (string, error)

ReturnPubkey returns the pubkey when passed the seed

func StoreSeed

func StoreSeed(seed string, password string, path string) error

StoreSeed encrypts and stores the seed

Types

This section is empty.

Jump to

Keyboard shortcuts

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