crypto

package
v0.0.0-...-223e126 Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(ciphertext, nonce []byte, block cipher.Block) ([]byte, error)

func DecryptObj

func DecryptObj(encrypted string, block cipher.Block, v interface{}) error

func EncryptObj

func EncryptObj(body interface{}, block cipher.Block) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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