Data Preparation and Encryption
{
"merchant_id" = "a4263-e3d51-e7678-ae495",
"key" = "51243561425654564564564564564564564564"
}{
"coin_type": "bitcoin",
"usd_price": 1000.01,
"timestamp": 1573578048
}Last updated
{
"merchant_id" = "a4263-e3d51-e7678-ae495",
"key" = "51243561425654564564564564564564564564"
}{
"coin_type": "bitcoin",
"usd_price": 1000.01,
"timestamp": 1573578048
}Last updated
Use HMAC sha512 with key to hash the above data with base64.
Hash "i2lNBV67YTtTS7hgLYNkNGYIGqZNqPHfYGVnj5Emb7emZ+c6KOwLJtpVfU2eN41zkSB9zAfuCtIHfkLj5TInIw=="