crypto

package
v0.0.0-...-f907250 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptWithPublicKey

func DecryptWithPublicKey(publicKey []byte, payload []byte, out interface{}) error

func EncryptForPublicKey

func EncryptForPublicKey(publicKey []byte, payload io.Reader, out io.Writer) (int64, error)

func EncryptForUser

func EncryptForUser(user *User, payload io.Reader, out io.Writer) (int64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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