PGP Encryption in Javascript

Claude Houle picture Claude Houle · May 10, 2010 · Viewed 15.1k times · Source

I'm looking to do some client-side PGP encryption in Javascript. I've found some GPL library scattered on the web, but for obvious reason, I cannot use that code due to licensing issues.

I'm looking for some BSD-like license library that would accomplish the same thing. Anyone know of a library I could use?

Answer

Claude Houle picture Claude Houle · Sep 14, 2011

I recently found a MIT licensed client-side javascript library:

https://github.com/bitwiseshiftleft/sjcl

It works well so far, and it allows for a full-client side encryption of the data. Ensuring that even before the data leaves the browser, it is already safe using a public-private key encryption scheme.