We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Node Js this done as follows:
const crypto = require('crypto'); const ece = require('http_ece'); const dh = crypto.createECDH('prime256v1'); dh.setPrivateKey("d25a7249abac3beae6d03e0441867de762ea4cfc51e5c202a3fc0a45486d1f94", 'hex'); const params = { version: 'aes128gcm', authSecret: "a7omShAT1ycPQqu9UHaS6Q", privateKey: dh, }; const buf = Buffer.from(array2, 'hex'); const decrypted = ece.decrypt(buf, params); console.log(decrypted.toString());
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In Node Js this done as follows:
The text was updated successfully, but these errors were encountered: