Skip to content

Hash

SHA-256 and SHA-512 cryptographic hashing.

2 modules

ModuleDescription
SHA-256 雜湊計算文字的 SHA-256 加密雜湊值
SHA-512 雜湊計算文字的 SHA-512 加密雜湊值

Modules

SHA-256 雜湊

hash.sha256

計算文字的 SHA-256 加密雜湊值

Parameters:

NameTypeRequiredDefaultDescription
textstringYes-要雜湊的文字
encodingstringNoutf-8要雜湊的文字

Output:

FieldTypeDescription
hashstring文字編碼
algorithmstringSHA-256 雜湊(64 個十六進位字元)

SHA-512 雜湊

hash.sha512

計算文字的 SHA-512 加密雜湊值

Parameters:

NameTypeRequiredDefaultDescription
textstringYes-要雜湊的文字
encodingstringNoutf-8要雜湊的文字

Output:

FieldTypeDescription
hashstring文字編碼
algorithmstringSHA-512 雜湊(128 個十六進位字元)

Released under the Apache 2.0 License.