跳到主要内容

取SHA256(string.sha256)

函数

哈希值 = string.sha256(文本内容)

参数

  • 文本内容 文本型

返回值

  • 哈希值 文本型

说明

用于获取字符串的SHA256 哈希值

示例

string.sha256("随便写点字")