Table Of Contents
At this time this solution should be considered suitable for research and experimentation, further code and security review is needed before utilization in a production application.
Module is based on NodeJS v10 Crypto API. It would work only with Node v10 and higher.
npm install @peculiar/webcrypto
1 Mechanism supports extended list of named curves
2 Mechanism is not defined by the WebCrypto specifications. Use of mechanism in a safe way is hard, it was added for the purpose of enabling interoperability with an existing system. We recommend against its use unless needed for interoperability.
const Crypto = ;const crypto = ;
See WebCrypto Docs for examples
Please report bugs either as pull requests or as issues in the issue tracker.
@peculiar/webcrypto has a full disclosure vulnerability policy. Please do NOT attempt to report any security vulnerability in this code privately to anybody.