3.0.8 • Published 3 years ago

steam-crypto-ts v3.0.8

Weekly downloads
154
License
MIT
Repository
-
Last release
3 years ago

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

3 years ago

3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.7

3 years ago

3.0.6

3 years ago

3.0.5

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

1.0.0

3 years ago

1.3.6

3 years ago

1.3.5

3 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago