View Source Signaturex.CryptoHelper (Signaturex v1.5.0)

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.

Functions

Link to this function

hmac256_to_string(app_secret, to_sign)

View Source
@spec 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

@spec md5_to_string(binary()) :: binary()

Compute a MD5, convert to hexadecimal and downcase it.