Skip to main content

Crate steam_crypto

Crate steam_crypto 

Source
Expand description

Steam cryptographic utilities.

This crate provides encryption and cryptographic functions for Steam protocol communication.

Structs§

SessionKey
Steam session key for encryption.
SessionKeyPair
Result of generating a session key for the encryption handshake.

Enums§

CryptoError

Functions§

calculate_key_crc
Calculate CRC32 checksum of the encrypted session key.
decrypt_message
Decrypt a message using the session key.
decrypt_with_hmac_iv
Decrypt a message with HMAC-IV verification.
encrypt_message
Encrypt a message using the session key.
encrypt_with_hmac_iv
Encrypt a message using HMAC-IV encryption.
generate_session_key
Generate a new session key and encrypt it with Steam’s public key.