PGP Encryption in Javascript

自作多情 提交于 2019-12-03 03:49:15

问题


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?


回答1:


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.




回答2:


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.




回答3:


See http://www.hanewin.net/encrypt/




回答4:


I know this is an old question, but I recently found: https://keybase.io/kbpgp when looking for a similar item. BSD Licensed instead of *GPL.



来源:https://stackoverflow.com/questions/2802541/pgp-encryption-in-javascript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!