{"_id":"@doctormckay/steam-crypto","_rev":"7-ab3e88d02eccc6456156d7ae7c777e5f","name":"@doctormckay/steam-crypto","description":"Node.js implementation of Valve's crypto","dist-tags":{"latest":"1.2.0"},"versions":{"0.0.1":{"name":"@doctormckay/steam-crypto","version":"0.0.1","description":"Node.js implementation of Valve's crypto","repository":{"type":"git","url":"git+https://github.com/seishun/node-steam-crypto.git"},"keywords":["steam","crypto"],"author":{"name":"Nikolai Vavilov","email":"vvnicholas@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/seishun/node-steam-crypto/issues"},"homepage":"https://github.com/seishun/node-steam-crypto#readme","_id":"@doctormckay/steam-crypto@0.0.1","scripts":{},"_shasum":"c63d9a18a4c0001e547cd436805357b68134b79a","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.1.1","_npmUser":{"name":"doctormckay","email":"mckay@doctormckay.com"},"dist":{"shasum":"c63d9a18a4c0001e547cd436805357b68134b79a","tarball":"https://registry.npmjs.org/@doctormckay/steam-crypto/-/steam-crypto-0.0.1.tgz","integrity":"sha512-DbU4qSeC4V0bw7d2I99StWcBNZmsGolurvFVa0aejv5THjxKj6i206PVAdhG0j4ggJIr7aLHhSfBLmzNDAfJFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE85yV0Kgpyvr9oA4rGZvS+XVkQXiks/sS3HllNBcnBtAiBeBRYGfDlEoEL4nHz2BNoddnC68NFSw6XKqKSU7hemjQ=="}]},"maintainers":[{"name":"doctormckay","email":"mckay@doctormckay.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/steam-crypto-0.0.1.tgz_1460334590379_0.5012771643232554"}},"1.0.0":{"name":"@doctormckay/steam-crypto","version":"1.0.0","description":"Node.js implementation of Valve's crypto","repository":{"type":"git","url":"git+https://github.com/DoctorMcKay/node-steam-crypto.git"},"keywords":["steam","crypto"],"author":{"name":"Alexander Corn","email":"mckay@doctormckay.com","url":"https://www.doctormckay.com"},"contributors":[{"name":"Nikolai Vavilov","email":"vvnicholas@gmail.com"}],"license":"MIT","gitHead":"45f28193c38e8a2295dc9655270eea015263a6f6","bugs":{"url":"https://github.com/DoctorMcKay/node-steam-crypto/issues"},"homepage":"https://github.com/DoctorMcKay/node-steam-crypto#readme","_id":"@doctormckay/steam-crypto@1.0.0","scripts":{},"_shasum":"a6e3e9dd35f4de8a04a2bfeace283d0aeaed4403","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"doctormckay","email":"mckay@doctormckay.com"},"dist":{"shasum":"a6e3e9dd35f4de8a04a2bfeace283d0aeaed4403","tarball":"https://registry.npmjs.org/@doctormckay/steam-crypto/-/steam-crypto-1.0.0.tgz","integrity":"sha512-rm30oaHOKdCoYmEvH50gtnST+d0McDqKmKg1MLndWSzZtwY6xgsInIHCguV0+bdmmL9xHwiZvZOJlg4ufEVLig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAz17MWoi5y+TNQPfNaQ6LmUf/MqUKc4UPPU85m17/kPAiBZYgJbJuHbkGFw4KymEe2XbEO9N9I28YRN0v7adoDWmA=="}]},"maintainers":[{"name":"doctormckay","email":"mckay@doctormckay.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/steam-crypto-1.0.0.tgz_1460567986889_0.44515114184468985"}},"1.1.0":{"name":"@doctormckay/steam-crypto","version":"1.1.0","description":"Node.js implementation of Valve's crypto","repository":{"type":"git","url":"git+https://github.com/DoctorMcKay/node-steam-crypto.git"},"keywords":["steam","crypto"],"author":{"name":"Alexander Corn","email":"mckay@doctormckay.com","url":"https://www.doctormckay.com"},"contributors":[{"name":"Nikolai Vavilov","email":"vvnicholas@gmail.com"}],"license":"MIT","gitHead":"5c08d9e562af5ea2b8784073c8fcc47e2d5d6796","bugs":{"url":"https://github.com/DoctorMcKay/node-steam-crypto/issues"},"homepage":"https://github.com/DoctorMcKay/node-steam-crypto#readme","_id":"@doctormckay/steam-crypto@1.1.0","scripts":{},"_shasum":"5f1485c8712b2aa3c690f36566ded05df2dc616f","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"doctormckay","email":"mckay@doctormckay.com"},"dist":{"shasum":"5f1485c8712b2aa3c690f36566ded05df2dc616f","tarball":"https://registry.npmjs.org/@doctormckay/steam-crypto/-/steam-crypto-1.1.0.tgz","integrity":"sha512-4et5RGiw6agtpQ8HAdL1I4gugZQPMZPIVGEY7L1O6AfA9sPSinsiVKZBV08v7L+cJ1+v0y7YasL+fvGWANxEcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeOuJd0X5JZh6ZvsnOjrEUov8e/gAIslYWIwhzMAH2dQIgD0N9uwKoYHoN4j+EtOAwfJz1+oi536kjA05ZpplAhgE="}]},"maintainers":[{"name":"doctormckay","email":"mckay@doctormckay.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/steam-crypto-1.1.0.tgz_1464147454416_0.30278541683219373"}},"1.2.0":{"name":"@doctormckay/steam-crypto","version":"1.2.0","description":"Node.js implementation of Valve's crypto","repository":{"type":"git","url":"git+https://github.com/DoctorMcKay/node-steam-crypto.git"},"keywords":["steam","crypto"],"author":{"name":"Alexander Corn","email":"mckay@doctormckay.com","url":"https://www.doctormckay.com"},"contributors":[{"name":"Nikolai Vavilov","email":"vvnicholas@gmail.com"}],"license":"MIT","gitHead":"b568b4a81150353b71d50285540e90a902ce552d","bugs":{"url":"https://github.com/DoctorMcKay/node-steam-crypto/issues"},"homepage":"https://github.com/DoctorMcKay/node-steam-crypto#readme","_id":"@doctormckay/steam-crypto@1.2.0","scripts":{},"_shasum":"2b123c1e98034f3c8c6b90109e35fc4276e086b0","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"doctormckay","email":"mckay@doctormckay.com"},"dist":{"shasum":"2b123c1e98034f3c8c6b90109e35fc4276e086b0","tarball":"https://registry.npmjs.org/@doctormckay/steam-crypto/-/steam-crypto-1.2.0.tgz","integrity":"sha512-lsxgLw640gEdZBOXpVIcYWcYD+V+QbtEsMPzRvjmjz2XXKc7QeEMyHL07yOFRmay+cUwO4ObKTJO0dSInEuq5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAtNhWErAF661UCbYeAAL6VQ0EfxqUnm0Rf8+ikL1OmrAiEAp7EV0XqHi/JM06/AMTqMwKuJynCOFMtu59vpaGNmZI0="}]},"maintainers":[{"name":"doctormckay","email":"mckay@doctormckay.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/steam-crypto-1.2.0.tgz_1485478176723_0.5600920033175498"}}},"readme":"# node-steam-crypto\r\n\r\nNode.js implementation of Steam crypto. All keys, data, and signatures are passed as Buffers.\r\n\r\nFork of, and compatible with, [steam-crypto](https://www.npmjs.com/package/steam-crypto).\r\n\r\n## verifySignature(data, signature[, algorithm])\r\n\r\nVerifies an RSA signature using the Steam system's public key. `algorithm` defaults to \"RSA-SHA1\". Returns `true` if the signature is valid, or `false` if not.\r\n\r\n## generateSessionKey([nonce])\r\n- `nonce` - If you were prompted by Steam with a nonce, provide it here (as a Buffer)\r\n\r\nGenerates a 32 byte random blob of data and encrypts it with RSA using the Steam system's public key. Returns an object with the following properties:\r\n* `plain` - the generated session key\r\n* `encrypted` - the encrypted session key\r\n\r\nIf you provided a nonce, then `encrypted` is the RSA'd concatenation of the session key and the nonce (in that order).\r\n\r\n## symmetricEncrypt(input, sessionKey[, iv])\r\n\r\nEncrypts `input` using `sessionKey` and `iv` (or a securely-random IV if you don't provide one) and returns the result.\r\n\r\n## symmetricEncryptWithHmacIv(input, sessionKey)\r\n\r\nEncrypts `input` using `sessionKey` and an IV which is partially comprised of an HMAC of the `input`.\r\n\r\n## symmetricDecrypt(input, sessionKey[, checkHmac])\r\n\r\nDecrypts `input` using `sessionKey` and returns the result.\r\n\r\nIf the IV in this ciphertext contains an HMAC, pass `true` for `checkHmac` and it will be validated. Otherwise, it will\r\nnot be validated (default behavior).\r\n\r\n## symmetricDecryptECB(input, sessionKey)\r\n\r\nDecrypts `input` using `sessionKey` and the AES/ECB/PKCS7 cipher without an IV and returns the result.\r\n","maintainers":[{"name":"doctormckay","email":"mckay@doctormckay.com"}],"time":{"modified":"2022-06-12T17:07:59.971Z","created":"2016-04-11T00:29:52.549Z","0.0.1":"2016-04-11T00:29:52.549Z","1.0.0":"2016-04-13T17:19:49.347Z","1.1.0":"2016-05-25T03:37:35.681Z","1.2.0":"2017-01-27T00:49:38.598Z"},"homepage":"https://github.com/DoctorMcKay/node-steam-crypto#readme","keywords":["steam","crypto"],"repository":{"type":"git","url":"git+https://github.com/DoctorMcKay/node-steam-crypto.git"},"author":{"name":"Alexander Corn","email":"mckay@doctormckay.com","url":"https://www.doctormckay.com"},"bugs":{"url":"https://github.com/DoctorMcKay/node-steam-crypto/issues"},"license":"MIT","readmeFilename":"README.md","contributors":[{"name":"Nikolai Vavilov","email":"vvnicholas@gmail.com"}],"users":{"xmwx38":true}}