docs » hs.hash
Various hashing algorithms
- Functions - API calls offered directly by the extension
- hmacMD5
- hmacSHA1
- hmacSHA256
- hmacSHA512
- MD5
- SHA1
- SHA256
- SHA512
Signature | hs.hash.hmacMD5(key, data) -> string |
---|---|
Type | Function |
Description | Calculates an HMAC using a key and an MD5 hash |
Parameters |
|
Returns |
|
Signature | hs.hash.hmacSHA1(key, data) -> string |
---|---|
Type | Function |
Description | Calculates an HMAC using a key and a SHA1 hash |
Parameters |
|
Returns |
|
Signature | hs.hash.hmacSHA256(key, data) -> string |
---|---|
Type | Function |
Description | Calculates an HMAC using a key and a SHA256 hash |
Parameters |
|
Returns |
|
Signature | hs.hash.hmacSHA512(key, data) -> string |
---|---|
Type | Function |
Description | Calculates an HMAC using a key and a SHA512 hash |
Parameters |
|
Returns |
|
Signature | hs.hash.MD5(data) -> string |
---|---|
Type | Function |
Description | Calculates an MD5 hash |
Parameters |
|
Returns |
|
Signature | hs.hash.SHA1(data) -> string |
---|---|
Type | Function |
Description | Calculates an SHA1 hash |
Parameters |
|
Returns |
|
Signature | hs.hash.SHA256(data) -> string |
---|---|
Type | Function |
Description | Calculates an SHA256 hash |
Parameters |
|
Returns |
|
Signature | hs.hash.SHA512(data) -> string |
---|---|
Type | Function |
Description | Calculates an SHA512 hash |
Parameters |
|
Returns |
|