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การเข้ารหัสข้อความ
algorithmstringแฮช SHA-256 (64 อักขระฐานสิบหก)

แฮช SHA-512

hash.sha512

คำนวณแฮช SHA-512 ของข้อความ

Parameters:

NameTypeRequiredDefaultDescription
textstringYes-ข้อความที่จะแฮช
encodingstringNoutf-8ข้อความที่จะแฮช

Output:

FieldTypeDescription
hashstringการเข้ารหัสข้อความ
algorithmstringแฮช SHA-512 (128 อักขระฐานสิบหก)

Released under the Apache 2.0 License.