crypto

package
v1.9.9 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesGCM128Decrypt

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

AesGCM128Decrypt decrypt by aes-gcm-128

func AesGCM128Encrypt

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

AesGCM128Encrypt encrypt by aes-gcm-128

func AesGCM256DecryptWithChaos

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

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

func AesGCM256EncryptWithChaos

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