string.string.sha1
Declaration
lua
string.sha1(data)
Description
Calculate SHA-1 hash.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
data | string | Required | — |
Return Values
| Type | Description |
|---|---|
| string | 40-char hex |