cryprot

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

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcSecretKey

func CalcSecretKey(pubKey, privKey []byte) (secretKey []byte)

func DecryptMessage

func DecryptMessage(cipherMessage []byte, secretKey []byte) []byte

func EncryptMessage

func EncryptMessage(message []byte, secretKey []byte) []byte

func GeneratePubPrivKeys

func GeneratePubPrivKeys() ([]byte, []byte)

GeneratePubPrivKey returns public and private key based on Ed25519 algorithm

Types

This section is empty.

Jump to

Keyboard shortcuts

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