ferogram.dev / ferogram-crypto
CR

ferogram-crypto

Cryptographic primitives for Telegram MTProto: AES-IGE, RSA, SHA-1/256, auth key derivation.

Rust v0.6.5 MIT OR Apache-2.0
Cargo.toml
[dependencies]
ferogram-crypto = "0.6.5"

What it does

  • AES-IGE encryption and decryption
  • RSA for the initial key exchange handshake
  • SHA-1 and SHA-256 hashing helpers
  • PQ factorization for the Diffie-Hellman handshake
  • Auth key derivation and Diffie-Hellman key exchange
  • Transport obfuscation primitives shared with ferogram-connect
Explore the workspace