OpenPGP JavaScript crypto library:

Example: