encryption

package
v0.14.4 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const AES_256_KEYSIZE int = 32

AES_256_KEYSIZE describes the length for key AES-256 encryption

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(ciphertext []byte) ([]byte, error)

Decrypt AES-256-CTR encrypted data

func Encrypt

func Encrypt(plaintext []byte) ([]byte, error)

Encrypt data with AES-256-CTR

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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