crypto

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesGCMDecrypt

func AesGCMDecrypt(key, cipherText, nonce []byte) ([]byte, error)

func AesGCMEncrypt

func AesGCMEncrypt(key, inText []byte) (outText, nonce []byte, err error)

func GetEntropyCSPRNG

func GetEntropyCSPRNG(n int) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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