CoreSha1Hash Method

取得SHA1 Base64雜湊值

Definition

Namespace: eBizprise.Framework
Assembly: eBizprise.Framework.Core (in eBizprise.Framework.Core.dll) Version: 26.0.0.0+6e92afb880fa099fdfe407c9aa8d1b17eaaf3625
C#
public static string Sha1Hash(
	string data
)

Parameters

data  String
文字

Return Value

String
string

Example

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

Revision History

DateVersionDescription
2020/05/051.0.4.0增加MD5加密、SHA1雜湊與HMAC-SHA1加密功能
2020/05/211.0.6.0實測調整
2025/09/1925.0.0.0彙整2025年度初版
2025/11/2725.0.1.0修正SHA1編譯警告

See Also