3.0.8 • Published 4 years ago
steam-crypto-ts v3.0.8
steam-crypto-ts
Node.js implementation of Steam connection crypto.
This is a fork from @doctormckay/steam-crypto.
Rewritten in Typescript and provides typings.
Updated to use crypto .update()
and cipher.final()
instead of piped streams
.
generateSessionKey(nonce)
- Generate a 32-byte symmetric sessionkey and encrypt it with Steam's public "System" key.
nonce
- If provided, will be appended to the sessionKey when encrypting.- This is usually the webNonce provided by Steam CM upon on logon
symmetricEncryptWithHmacIv(data, sessionKey)
- Encrypt
data
with AES and prepend an HMAC IV - This is the encryption protocol Steam uses in the client connection.
symmetricDecrypt(input, sessionKey)
- Decrypt the data from Steam
sha1(input, sessionKey)
- Hash input with sha1 algorithm
3.0.8
4 years ago
3.0.4
4 years ago
3.0.3
4 years ago
3.0.2
4 years ago
3.0.7
4 years ago
3.0.6
4 years ago
3.0.5
4 years ago
3.0.1
4 years ago
3.0.0
4 years ago
1.0.0
4 years ago
1.3.6
4 years ago
1.3.5
4 years ago
1.3.4
4 years ago
1.3.3
4 years ago
1.3.2
4 years ago
1.3.1
4 years ago
1.3.0
4 years ago
1.2.5
4 years ago
1.2.4
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago