elcodedocle/openpgpjs
最新稳定版本:1.0.0
Composer 安装命令:
composer require elcodedocle/openpgpjs
包简介
GnuPG compatible Javascript client library
README 文档
README
#####A GnuPG compatible PGP (RSA/AES) Javascript encryption library
Copyright (C) 2005 Herbert Hanewinkel, www.haneWIN.de
License: MIT Expat
How to use
<script type="text/javascript" src="path/to/aes-enc.js"></script>
<script type="text/javascript" src="path/to/base64.js"></script>
<script type="text/javascript" src="path/to/rsa.js"></script>
<script type="text/javascript" src="path/to/PGencode.js"></script>
<script type="text/javascript">
doEncrypt(keyId, keyType, publicKey, text);
</script>
(More info at http://www.hanewin.net/encrypt/PGencode.htm)
Motivation
For obsolete reasons, I wanted to implement client side Javascript asymmetric encryption on my PHP web app.
So I did some research and the most reasonably fast and tested library was PGEncrypt by Herbert Hanewinkel, but it was old (2005) and lacked a public repository or a reliable distribution channel compatible with composer for quickly embedding on PHP web apps and tracking any changes/updates/patches or extensions, so I packaged it all and this project was born.
Acks
Herbert Hanewinkel, author of the original library at http://www.haneWIN.de/
Enjoy!
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-05