fix readme
This commit is contained in:
parent
8b10a32655
commit
0dadbff695
|
@ -9,11 +9,11 @@ OpenPGP.js
|
|||
|
||||
For server side use, install via npm:
|
||||
|
||||
npm install openpgpjs
|
||||
npm install openpgp
|
||||
|
||||
Example:
|
||||
|
||||
var openpgp = require('openpgpjs);
|
||||
var openpgp = require('openpgp');
|
||||
var key = '-----BEGIN PGP PUBLIC KEY BLOCK ... END PGP PUBLIC KEY BLOCK-----';
|
||||
var publicKey = openpgp.key.readArmored(key);
|
||||
var pgpMessage = openpgp.encryptMessage(publicKey.keys, 'Hello, World!');
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "openpgpjs",
|
||||
"name": "openpgp",
|
||||
"description": "A Javascript implementation of the OpenPGP protocol.",
|
||||
"version": "0.2.0",
|
||||
"homepage": "http://openpgpjs.org/",
|
||||
"engines": {
|
||||
"node": ">=0.8"
|
||||
},
|
||||
"keywords": ["crypto", "pgp", "gpg", "openpgp", "openpgp.js"],
|
||||
"keywords": ["crypto", "pgp", "gpg", "openpgp"],
|
||||
"main": "src/index.js",
|
||||
"directories": {
|
||||
"lib": "src"
|
||||
|
|
Loading…
Reference in New Issue
Block a user