Binary package “libjs-jsencrypt” in ubuntu oracular

RSA Encryption in JavaScript

 JSEncrypt provides a simple wrapper around the fantastic work done by Tom Wu
 for RSA Encryption in JavaScript (ie: the jsbn Javascript library). JSEncrypt
 works hand-in-hand with openssl.
 .
 With JSEncrypt, you can generate private and public keypairs, then use them to
 encrypt and decrypt.