crypto

package
v0.0.0-...-6c9d739 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: OSL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(cipherText []byte, passphrase string) ([]byte, error)

func Encrypt

func Encrypt(rawMessage []byte, passphrase string) ([]byte, []byte, error)

func GenerateKeypair

func GenerateKeypair() (string, string, error)

func PrivateKeyToKeyPair

func PrivateKeyToKeyPair(privateKey string) (*string, *string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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