mete0r/openpgp-js — Issue #3: asynchronous random/encrypt
Author: mete0r
Created: 2011-10-09 17:01:31+00:00
State: open

the RNG which is used by encryption process depends on entropy collecting, which is asynchrohous in nature.

i.e.

OpenPGP.RNG.random(nbytes, function(bytes) { ... });
OpenPGP.encrypt(pubkey, AES256, plaintext, function(ciphertext) { ... } );