QShield JS is the JavaScript part of the QShield service, aimed at giving your game smart contracts extra security from unauthorized tampering or entry.
- npm install qshield-js
- use the encryptPrivateKey function to safely encrypt your Key
- use the decryptPrivateKey function to read the key safely on your end
- use the quantumResistantEncrypt function to encrypt your data
- use the quantumResistantDecrypt function to safely decrypt that data
For a direct look at how to embed QShield-JS, take a look at our test repository:
https://github.com/harshnambiar/qshieldjs_test
The NPM package can be found here:
https://www.npmjs.com/package/qshield-js
Here is the repo: https://github.com/qshieldapp/qshield-js