Hi,
I have tried a lot to get it working in compatibilty with openssl functions, but without further success.
Could you provide some examples, on how to use with AES-256-ECB which can be simply decoded with openssl ? You could also use this page as example, to confirm, the compatibilty of it: https://encode-decode.com/aes-256-ecb-encrypt-online/
to be honest, I found no solution. Only other questions, which were also using your library.
And could you change your class, that it would be possible to switch between the methods ? You wrote, you are using the MQL encrypt method, but it seems it is not really compatible with the new "standards". But a passing parameter of which method which would be used would be fine - https://www.mql5.com/en/docs/constants/namedconstants/otherconstants#enum_crypt_method
Even if your class "is still a while" ago, I hope you are still active, and can do this changes.
Regards
MarquezHi,
I have tried a lot to get it working in compatibilty with openssl functions, but without further success.
Could you provide some examples, on how to use with AES-256-ECB which can be simply decoded with openssl ? You could also use this page as example, to confirm, the compatibilty of it: https://encode-decode.com/aes-256-ecb-encrypt-online/
to be honest, I found no solution. Only other questions, which were also using your library.
And could you change your class, that it would be possible to switch between the methods ? You wrote, you are using the MQL encrypt method, but it seems it is not really compatible with the new "standards". But a passing parameter of which method which would be used would be fine - https://www.mql5.com/en/docs/constants/namedconstants/otherconstants#enum_crypt_method
Even if your class "is still a while" ago, I hope you are still active, and can do this changes.
Regards
MarquezHello Markus,
I answered you by email.
Sorry to take so long.
Best regards,
Romeu Bertho.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Bcrypt:
Class for working with AES-256 encryption.
This class makes use of the MQL5 built-in function CryptEncode() to encrypt/decrypt data. Also, it converts the generated data by CryptEncoded() into a HEX string and vice-versa.
Author: Romeu Bertho