Module tsproto::algorithms[][src]

Expand description

Handle packet splitting and cryptography

Functions

array_to_biguint
biguint_to_array
compress_and_split

Compresses and splits the packet data of a Command or CommandLow packet.

compute_iv_mac

Compute shared iv and shared mac.

decrypt
decrypt_fake
decrypt_key_nonce
encrypt
encrypt_fake
encrypt_key_nonce
get_hash_cash_level
hash_cash
must_encrypt
should_encrypt