crypt

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptDataWithClientPrivateKey

func DecryptDataWithClientPrivateKey(data, key []byte, keyPassword string) ([]byte, error)

DecryptDataWithClientPrivateKey decrypts provided byte slice with provided client private key

func EncryptDataWithServerPubKey

func EncryptDataWithServerPubKey(data, key []byte) ([]byte, error)

EncryptDataWithServerPubKey encrypts provided byte slice with provided server public key

func GeneratePrivateKeySignature

func GeneratePrivateKeySignature(data, key []byte, keyPassword string) ([]byte, error)

GeneratePrivateKeySignature creates private key signature

Types

This section is empty.

Jump to

Keyboard shortcuts

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