keyhandling

package
v0.0.0-...-a7f45aa Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keystore

type Keystore struct {
	Crypto      *KeystoreCrypto
	Description string
	PubKey      string
	Path        string
	UUID        string
	Version     string
}

func Encrypt

func Encrypt(seed [common.SeedSize]uint8, password, path string, salt, aesIV []byte) (*Keystore, error)

func (*Keystore) Save

func (k *Keystore) Save(fileFolder string) error

type KeystoreCrypto

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

func NewKeystoreCrypto

func NewKeystoreCrypto(salt, aesIV, cipherText, partialDecryptionKey []uint8) *KeystoreCrypto

func NewKeystoreCryptoFromJSON

func NewKeystoreCryptoFromJSON() *KeystoreCrypto

type KeystoreModule

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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