Signaturex v1.2.0 Signaturex.CryptoHelper View Source

Link to this section Summary

Functions

Compute a SHA-256 MAC message authentication code from app_secret and data to sign

Constant time string comparison

Compute a MD5, convert to hexadecimal and downcase it

Link to this section Functions

Link to this function hmac256_to_string(app_secret, to_sign) View Source
hmac256_to_string(binary, binary) :: binary

Compute a SHA-256 MAC message authentication code from app_secret and data to sign.

Link to this function identical?(string1, string2) View Source

Constant time string comparison

Link to this function md5_to_string(data) View Source
md5_to_string(binary) :: binary

Compute a MD5, convert to hexadecimal and downcase it.