Merge pull request #782 from ZelphirKaltstahl/master

added helpful comment about default encryption and decryption of U8in…
This commit is contained in:
Sanjana Rajan 2018-10-12 17:13:51 +02:00 committed by GitHub
commit b972bd8e09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,6 +124,8 @@ openpgp.initWorker({ path:'openpgp.worker.js' }) // set the relative web worker
#### Encrypt and decrypt *Uint8Array* data with a password
Encryption will use AES-256 by default. Decryption will use whatever was used when encrypting, as such information is readably stored in the encrypted message.
```js
var options, encrypted;