You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

AES算法。

使用方式

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

接口文档

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


温馨提示:

如果待解密数据经过其它编码,则要先解码再解码,如base64.decode

反过来也一样

如果希望加密完的数据编码,则将结果编码即可,如base64.encode

  • No labels