Various hashing algorithms
Signature | hs.hash.bMD5(data) -> data |
---|---|
Type | Function |
Description |
Calculates a binary MD5 hash |
Parameters |
|
Returns |
|
Source | extensions/hash/libhash.m line 169 |
Signature | hs.hash.bSHA1(data) -> data |
---|---|
Type | Function |
Description |
Calculates a binary SHA1 hash |
Parameters |
|
Returns |
|
Source | extensions/hash/libhash.m line 103 |
Signature | hs.hash.bSHA256(data) -> data |
---|---|
Type | Function |
Description |
Calculates a binary SHA256 hash |
Parameters |
|
Returns |
|
Source | extensions/hash/libhash.m line 125 |
Signature | hs.hash.bSHA512(data) -> data |
---|---|
Type | Function |
Description |
Calculates a binary SHA512 hash |
Parameters |
|
Returns |
|
Source | extensions/hash/libhash.m line 147 |
Signature | hs.hash.hmacMD5(key, data) -> string |
---|---|
Type | Function |
Description |
Calculates an HMAC using a key and an MD5 hash |
Parameters |
|
Returns |
|
Source | extensions/hash/libhash.m line 236 |
Signature | hs.hash.hmacSHA1(key, data) -> string |
---|---|
Type | Function |
Description |
Calculates an HMAC using a key and a SHA1 hash |
Parameters |
|
Returns |
|
Source | extensions/hash/libhash.m line 194 |
Signature | hs.hash.hmacSHA256(key, data) -> string |
---|---|
Type | Function |
Description |
Calculates an HMAC using a key and a SHA256 hash |
Parameters |
|
Returns |
|
Source | extensions/hash/libhash.m line 208 |
Signature | hs.hash.hmacSHA512(key, data) -> string |
---|---|
Type | Function |
Description |
Calculates an HMAC using a key and a SHA512 hash |
Parameters |
|
Returns |
|
Source | extensions/hash/libhash.m line 222 |
Signature | hs.hash.MD5(data) -> string |
---|---|
Type | Function |
Description |
Calculates an MD5 hash |
Parameters |
|
Returns |
|
Source | extensions/hash/libhash.m line 87 |
Signature | hs.hash.SHA1(data) -> string |
---|---|
Type | Function |
Description |
Calculates an SHA1 hash |
Parameters |
|
Returns |
|
Source | extensions/hash/libhash.m line 48 |
Signature | hs.hash.SHA256(data) -> string |
---|---|
Type | Function |
Description |
Calculates an SHA256 hash |
Parameters |
|
Returns |
|
Source | extensions/hash/libhash.m line 61 |
Signature | hs.hash.SHA512(data) -> string |
---|---|
Type | Function |
Description |
Calculates an SHA512 hash |
Parameters |
|
Returns |
|
Source | extensions/hash/libhash.m line 74 |
© 2014–2017 Hammerspoon contributors
Licensed under the MIT License.
https://www.hammerspoon.org/docs/hs.hash.html