syntax:functions:hmachex
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
syntax:functions:hmachex [2019/12/07 14:51] – created dmitry | syntax:functions:hmachex [2021/09/18 19:50] (current) – craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====HMACHex(algorithm, key, text)===== | + | ====== HMACHex(algorithm, |
+ | Category: | ||
- | Calculates | + | \\ |
- | * md5 | + | =====Description===== |
- | * sha1 | + | This function calculates |
- | * sha256 | + | |
- | * sha384 | + | |
- | * sha512 | + | |
- | The specified | + | \\ |
+ | =====Arguments===== | ||
+ | ^Argument^Type^Description^ | ||
+ | |algorithm | ||
+ | |text |Text |The message data, combined | ||
+ | |key|Text |The secret key mixed with //text// to generate | ||
+ | **Return value type:** Text. | ||
- | Remarks: data types other than text are not converted into text automatically. All texts are assumed to have the UTF-8 encoding. The algorithm name is case-insensitive. The key and the value are case-sensitive. | + | \\ |
+ | ^Algorithm | ||
+ | |md5 | | | ||
+ | |sha1 | | | ||
+ | |sha256 | ||
+ | |sha384 | ||
+ | |sha512 | ||
- | Example: | + | \\ |
- | ^ Expression ^ Result ^ | + | =====Remarks===== |
- | | hmachex(" | + | The specified algorithm is used as a Hash-based Message Authentication Code (HMAC). The HMAC process mixes a secret key with the message data, hashes the result with the hash function, mixes that hash value with the secret key again, and then applies the hash function |
+ | Data types other than text are not converted into text automatically. All texts are assumed to have the UTF-8 encoding. The algorithm name is case-insensitive. The key and the value are case-sensitive. | ||
- | **See also** | + | \\ |
+ | =====Examples===== | ||
+ | hmachex(' | ||
+ | \\ | ||
+ | =====See also===== | ||
+ | * [[syntax: | ||
* [[syntax: | * [[syntax: | ||
- | * [[syntax: | ||
- |
syntax/functions/hmachex.1575748268.txt.gz · Last modified: 2019/12/07 14:51 by dmitry