How to calculate digest

Digest is calculated using following formula: digest = SHA512(key + order_number + amount +currency)

With the following example data • key: 2345klj • order_number: abcdef • amount: 54321 • currency: EUR

the digest formula gives a result as follows: digest = SHA512.hexdigest(2345kljabcdef54321EUR) =>

f71b8c1560bd7511ba2f0307b3823c06dd39042cd77480543e3d7bf9f3eefa6debed252979ba8edc7a82d9f111

You can check digest on this link Calculate Digest

Last updated