package
0.1.8
Repository: https://github.com/sagoo-cloud/nexframe.git
Documentation: pkg.go.dev

# Functions

DecryptString decrypts a string using either the provided key or the default key.
EncryptString encrypts a string using either the provided key or the default key.
NewAes creates a new AES client with the given key or uses the default key if not provided.
Sha256 计算给定字节切片的 SHA-256 哈希值,并返回其十六进制表示.
Sha256String 计算给定字符串的 SHA-256 哈希值,并返回其十六进制表示.
Sha256WithError 计算给定字节切片的 SHA-256 哈希值,返回其十六进制表示和可能的错误.

# Structs

Aes represents an AES encryption/decryption client.