hermes-tdata 0.1.1

Pure Rust parser for Telegram Desktop's tdata storage format. Decrypts local storage and extracts auth keys without Qt/C++ dependencies.
Documentation
1
2
3
4
5
6
7
8
9
10
//! `QDataStream` constants

/// Qt `DataStream` version used by Telegram Desktop
pub const QT_VERSION_5_1: u32 = 14;

/// Marker for null QByteArray/QString
pub(super) const NULL_MARKER: u32 = 0xFFFF_FFFF;

/// Marker for extended 64-bit length (Qt 6.7+, not used in tdata)
pub(super) const EXTENDED_LENGTH_MARKER: u32 = 0xFFFF_FFFE;