CoreSha1Hash Method

取得SHA1 Base64雜湊值

Definition

Namespace: eBizprise.Framework
Assembly: eBizprise.Framework.Core (in eBizprise.Framework.Core.dll) Version: 25.0.3.0+adf38c4ccb2bf98d8ad258a6278302b5e05a94ed
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