derive_key

Function derive_key 

Source
pub fn derive_key(steam_id: &str) -> Result<[u8; 32], CryptoError>
Expand description

Derive an AES-256 key from a Steam ID

The key is derived by XORing the first 8 bytes of BASE_KEY with the Steam ID encoded as an 8-byte little-endian integer.