CoreHMAC_SHA1 Method

取得HMAC-SHA1加密字串

Definition

Namespace: eBizprise.Framework
Assembly: eBizprise.Framework.Core (in eBizprise.Framework.Core.dll) Version: 25.0.3.0+adf38c4ccb2bf98d8ad258a6278302b5e05a94ed
C#
public static string HMAC_SHA1(
	string encryptKey,
	string data
)

Parameters

encryptKey  String
加密金鑰
data  String
文字

Return Value

String
string

Example

C#
string contextHash = CertEncoder.HMAC_SHA1(contextJson);

Revision History

DateVersionDescription
2020/05/051.0.4.0增加MD5加密、SHA1雜湊與HMAC-SHA1加密功能
2020/05/141.0.5.0修正MD5加密、HMAC-SHA1加密功能不做特殊置換處理
2020/05/211.0.6.0實測調整
2025/09/1925.0.0.0彙整2025年度初版

See Also