Cryptographic primitives for Telegram MTProto.
Provides:
- AES-256-IGE encryption/decryption
- SHA-1 / SHA-256 hash macros
- Pollard-rho PQ factorization
- RSA padding (MTProto RSA-PAD scheme)
AuthKey— 256-byte session key- MTProto 2.0 message encryption / decryption
- DH nonce→key derivation