Fast cryptographic library for MQL5: hashes, HMAC, symmetric and asymmetric ciphers, padding and RSP test vector parsing.<br/> Pure MQL5, no DLLs required for the crypto primitives themselves.
- **RSP parser**: fast parser for `.rsp` NIST test vector files, used to validate hash implementations
2026-09-01 12:49:19 -05:00
- **URandom**: pluggable random sources for the rest of the library — Windows `bcrypt.dll` entropy (`CURandom`) or a pure-MQL5 PRNG backend with no DLLs required (`CURandomPRNG<TBackend>`), both interchangeable via templates
**ALL Test Passed with NIST Oficial vectors (SHA3, SHA2, AES) and Github Official vectors for BLAKE2b:**
2026-09-02 08:30:57 -05:00
2026-09-02 08:34:08 -05:00
(For now, only tests that do not involve Monte Carlo for SHA/AES testing were considered.) Also, mention that these tests currently only cover testing with official NIST vectors or GitHub repositories (in the case of implementations like GitHub). Certainly, there are more types of tests than "KATs," but we will integrate those in the future.
2026-09-02 08:30:57 -05:00
2026-09-02 08:29:38 -05:00
```
2026.09.02 08:25:37.177 EA (EURUSD,H1) [INFO] TSN::CiTestUtil::RunAllTestAndSend | [PASSED] | Test [SHA2-256 Test NIST Vectors]
2026.09.02 08:25:37.190 EA (EURUSD,H1) [INFO] TSN::CiTestUtil::RunAllTestAndSend | [PASSED] | Test [SHA2-384 Test NIST Vectors]
2026.09.02 08:25:37.203 EA (EURUSD,H1) [INFO] TSN::CiTestUtil::RunAllTestAndSend | [PASSED] | Test [SHA2-512 Test NIST Vectors]
2026.09.02 08:25:37.215 EA (EURUSD,H1) [INFO] TSN::CiTestUtil::RunAllTestAndSend | [PASSED] | Test [SHA2-512/224 Test NIST Vectors]
2026.09.02 08:25:37.228 EA (EURUSD,H1) [INFO] TSN::CiTestUtil::RunAllTestAndSend | [PASSED] | Test [SHA2-512/256 Test NIST Vectors]
2026.09.02 08:25:37.240 EA (EURUSD,H1) [INFO] TSN::CiTestUtil::RunAllTestAndSend | [PASSED] | Test [SHA3-256 Test NIST Vectors]
2026.09.02 08:25:37.250 EA (EURUSD,H1) [INFO] TSN::CiTestUtil::RunAllTestAndSend | [PASSED] | Test [SHA3-384 Test NIST Vectors]
2026.09.02 08:25:37.257 EA (EURUSD,H1) [INFO] TSN::CiTestUtil::RunAllTestAndSend | [PASSED] | Test [SHA3-512 Test NIST Vectors]
2026.09.02 08:25:37.259 EA (EURUSD,H1) [INFO] TSN::CiTestUtil::RunAllTestAndSend | [PASSED] | Test [BLAKE2 Official vector test]
2026.09.02 08:25:37.260 EA (EURUSD,H1) [INFO] TSN::CiTestUtil::RunAllTestAndSend | [PASSED] | Test [AES-128 ECB Test NIST Vectors]
2026.09.02 08:25:37.263 EA (EURUSD,H1) [INFO] TSN::CiTestUtil::RunAllTestAndSend | [PASSED] | Test [AES-256 ECB Test NIST Vectors]
2026.09.02 08:25:37.284 EA (EURUSD,H1) [INFO] TSN::CiTestUtil::RunAllTestAndSend | [PASSED] | Test [AES-128 CBC Test NIST Vectors]
2026.09.02 08:25:37.321 EA (EURUSD,H1) [INFO] TSN::CiTestUtil::RunAllTestAndSend | [PASSED] | Test [AES-256 CBC Test NIST Vectors]
Requires the `tsndep` package, available on [PyPI](https://pypi.org/project/tsndep). It automatically downloads and installs all declared dependencies.