Is there a way to generate RSA key pair using react
I'm trying to generate rsa keypairs in react for a end to end encrypted app
There seems to be no npm packages to do so client side.
Should i implement it manually ?
I tried multiple npm packages including jsencrypt and rsajs and none provide the possibility to do so
"Should i implement it manually ?" – Short answer: NO! Cryptography is a difficult topic and if you make mistakes the damage could be very big.
How should i do it otherwise
React is a UI framework. It has nothing to do with encryption.