html keygen alternative, generating key pair in browser
Recently, I was looking for similar library and found a popular library for the same i.e. node-forge. This library's weekly downloads is above 4 million and has been there for past 7 years. In addition, it has been regularly updated, as can be checked by their version releases.
- RSA Keypair generation sample using node-forge: https://www.npmjs.com/package/node-forge#rsa
- node-forge Git Project URL: https://github.com/digitalbazaar/forge
In case you already have a <keygen>
-based setup and want to keep using it, I created a project which attempts to implement a JavaScript polyfill for <keygen>
: