Amazing job! Thanks!
Thanks i hope there's RIPEMD160 also.
For crypto there is need to use immutable bytestring.
Your
the
library really helped!
- Thank!
SHA256, SHA384 work in MQL5. great.
at first, I thought they only work in MQL4.
HMAC-SHA256 does not work if the key length is greater than 64.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
SHA256, SHA384 and SHA512 + HMAC:
Many developers need these functions, while working with different kinds of external APIs, like Bitcoin and altcoin exchanges where it is often necessary to send data with the confirmation of parameters validity through HMAC-SHA512, HMAC-SHA384 and HMAC-SHA256.
The MQL5 version of SHA512 library can be found here: https://www.mql5.com/en/code/18158. Besides SHA512, added SHA256 and SHA384 support in form of separate libraries.
HMAC functions were ported from https://en.wikipedia.org/wiki/Hash-based_message_authentication_code
Use example (tested on http://www.freeformatter.com/hmac-generator.html)
Author: Grzegorz Korycki