AESEncoderDecryptGCM(String, String) Method

使用AES-GCM模式解密指定文字 (使用設定檔中的Key)

Definition

Namespace: eBizprise.Framework.EncodeHelper
Assembly: eBizprise.Framework.Core (in eBizprise.Framework.Core.dll) Version: 26.0.0.0+6e92afb880fa099fdfe407c9aa8d1b17eaaf3625
C#
public static string DecryptGCM(
	string encryptedData,
	string associatedData = null
)

Parameters

encryptedData  String
加密資料 (格式: Nonce|Tag|CipherText,以|分隔的Base64字串)
associatedData  String  (Optional)
附加驗證資料 (AAD),必須與加密時使用的相同

Return Value

String
解密後的明文

Revision History

DateVersionDescription
2026/01/0726.0.0.0彙整2026年度初版,新增GCM支援

See Also