OpenPGP.js ist eine Implementierung von PGP in JavaScript. Einfache Beispiele.