Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PGP Encryption in Javascript

Tags:

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?

like image 928
Claude Houle Avatar asked May 10 '10 12:05

Claude Houle


2 Answers

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.

like image 194
Claude Houle Avatar answered Oct 19 '22 23:10

Claude Houle


OpenPGP.js is probably the most complete and fastest implementation (it's a collaborative effort) and licensed under the LGPL. You might want to join their mailing list.

like image 24
Alex Avatar answered Oct 19 '22 21:10

Alex