crypto

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 4 Imported by: 1

README

crypto

aes encryption

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesGCM128Decrypt added in v0.1.1

func AesGCM128Decrypt(key string, raw []byte) ([]byte, error)

AesGCM128Decrypt decrypt by aes-gcm-128

func AesGCM128Encrypt added in v0.1.1

func AesGCM128Encrypt(key string, raw []byte) ([]byte, error)

AesGCM128Encrypt encrypt by aes-gcm-128

func AesGCM256DecryptWithChaos added in v0.1.1

func AesGCM256DecryptWithChaos(keys []string, raw []byte) ([]byte, error)

AesGCM256DecryptWithChaos decrypt by aes-gcm-256 with chaos key(s)

func AesGCM256EncryptWithChaos added in v0.1.1

func AesGCM256EncryptWithChaos(keys []string, raw []byte) ([]byte, error)

AesGCM256EncryptWithChaos encrypt by aes-gcm-256 with chaos key(s)

Types

This section is empty.

Jump to

Keyboard shortcuts

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