hmacSHA1
Syntax | hmacSHA1(data, key) | Package | |
Alias | Pkg Usage | hmacSHA1(data, key) |
Description
Computes a signature over the data using HMAC - SHA1
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
data | string or byte[] | Yes | the data |
key | string | Yes | key that you want to use to compute the signature |
Return Type
byte []
Signature, empty if not ok (empty data)
