keystore

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptKeystore

func DecryptKeystore(encryptedJSONData []byte, password string) ([]byte, error)

DecryptKeystore decrypts a keystore JSON file using the provided password.

func EncryptKeystore

func EncryptKeystore(privkey []byte, pubKeyBase64, password string) ([]byte, error)

EncryptKeystore encrypts a private key using the provided password, adds in the public key and returns the encrypted keystore JSON data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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