encrypter

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// NoOperation encryption type name.
	NoOperation string = "noop"
	// NACL encryption type name.
	NACLECDH string = "nacl-ecdh"
	// AES256CBC encryption type name.
	AES256CBC string = "aes256cbc"
)

Cipher Name lookup

Variables

This section is empty.

Functions

func GetEncrypter

func GetEncrypter(encryption string, pubKey keys.PublicKey) (crypto.Encrypter, error)

GetEncrypter is an `Encrypter` factory that returns an encrypter

Types

This section is empty.

Jump to

Keyboard shortcuts

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