AESEncoderDecryptGCM(String, Byte, Byte, Byte, String) Method
使用AES-GCM模式解密指定文字
Namespace: eBizprise.Framework.EncodeHelperAssembly: eBizprise.Framework.Core (in eBizprise.Framework.Core.dll) Version: 26.0.0.0+6e92afb880fa099fdfe407c9aa8d1b17eaaf3625
public static string DecryptGCM(
string key,
byte[] nonce,
byte[] cipherText,
byte[] tag,
string associatedData = null
)
- key String
- 加密金鑰
- nonce Byte
- Nonce
- cipherText Byte
- 密文
- tag Byte
- 驗證標籤
- associatedData String (Optional)
- 附加驗證資料 (AAD),必須與加密時使用的相同
String解密後的明文
| Date | Version | Description |
|---|
| 2026/01/07 | 26.0.0.0 | 彙整2026年度初版,新增GCM支援 |