Signaturex.CryptoHelper

Source

Summary

hmac256_to_string(app_secret, to_sign)

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

md5_to_string(data)

Compute a MD5, convert to hexadecimal and downcase it

Functions

hmac256_to_string(app_secret, to_sign)

Specs:

  • hmac256_to_string(binary, binary) :: binary

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

Source
md5_to_string(data)

Specs:

  • md5_to_string(binary) :: binary

Compute a MD5, convert to hexadecimal and downcase it.

Source