utils

package
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptKey

func DecryptKey(keyJSON []byte, passwd string) (*crypto.PrivateKey, *crypto.PublicKey, error)

DecryptKey decrypt private key from keyJSON file

func DisplayKey

func DisplayKey(privKey *crypto.PrivateKey, pubKey *crypto.PublicKey) error

DisplayKey decrypt private key from keyJSON file

func SelectEngine

func SelectEngine(source string) (crypto.Engine, error)

SelectEngine return a new engine by source type

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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