node-jsencrypt A port of JSEncrypt to NodeJS. How To Use npm install node-jsencrypt Then: const JSEncrypt = require('node-jsencrypt'); const jsEncrypt = new JSEncrypt(); Then you can refer to the original documentation https://github.com/travist/jsencrypt