aesutil

package
v0.0.0-...-21b7b47 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const SALT_LENGTH = 16
View Source
const SCRYPT_N = 32768

Variables

This section is empty.

Functions

func AesDecrypt

func AesDecrypt(encrypted []byte, password string) ([]byte, error)

func AesEncrypt

func AesEncrypt(plain []byte, password string) ([]byte, error)

func GcmDecrypt

func GcmDecrypt(encrypted, key []byte) ([]byte, error)

func GcmEncrypt

func GcmEncrypt(plain, key []byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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