Skip to main content

Đối số

string
bắt buộc
Cac byte Lua string duoc truyen vao crypto library HashFilter.
"sha256" | "sha1" | "sha224" | "sha384" | "sha512" | "md5" | "sha3-224" | "sha3-256" | "sha3-384" | "sha3-512"
Ten thuat toan hash case-sensitive. Mac dinh la sha256.

Giá trị trả về

string
Lowercase hexadecimal digest khong co prefix hoac separators.

Ví dụ

Hash cac byte Lua string bang thuat toan mac dinh hoac mot ten duoc ho tro ro rang.