utils

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AESDecrypt

func AESDecrypt(ciphertext []byte) string

func AESEncrypt

func AESEncrypt(coverText []byte) []byte

func Decrypt

func Decrypt(cipherTextBase64, password string) (string, error)

Decrypt decrypts ciphertext using AES with a password.

func Encrypt

func Encrypt(plainText, password string) (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