<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > BuiltIn Functions > Cryptography > SHA256HMAC |
Description
Calculate a binary hash value authenticated by a secret key
Syntax
s = SHA256HMAC(sTextToHash, sSecretKey)
Returns
String
Parameters
Name |
Type |
Optional |
Meaning |
sTextToHash |
String |
No |
Text message to be hashed |
sSecretKey |
String |
No |
Secret HMAC key |
Remarks
Additional info: https://en.wikipedia.org/wiki/HMAC
Restrictions
See also
Examples