跳到主要内容

取SHA1(string.sha1)

函数

sha1文本 = string.sha1(文本内容)

参数

  • 文本内容 文本型

返回值

  • sha1文本 文本型

说明

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

示例

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