Skip to main content
Version: 2.8.x(Latest)

AES Algorithm.

Usage:

import "github.com/gogf/gf/v2/crypto/gaes"

API Documentation:

https://pkg.go.dev/github.com/gogf/gf/v2/crypto/gaes

Kind Reminder:

If the data to be decrypted has been encoded in other forms, it should be decoded first before decryption, such as base64.decode

The same applies in reverse

If you wish to encode the encrypted data, you can simply encode the result, such as base64.encode