diff --git a/README.md b/README.md index 88f532f4..1769cec2 100644 --- a/README.md +++ b/README.md @@ -344,6 +344,16 @@ openpgp.generateKey(options).then(function(key) { }); ``` +#### Encrypt with multiple public keys + +```js + publicKeys: [ // for encryption + openpgp.key.readArmored(pubkey1).keys[0], + openpgp.key.readArmored(pubkey2).keys[0] + ] + }; +``` + #### Revoke a key Using a revocation signature: