diff --git a/resources/example.js b/resources/example.js index 06e833f9..b19e0938 100644 --- a/resources/example.js +++ b/resources/example.js @@ -2,4 +2,5 @@ function encrypt() { openpgp.init(); var pub_key = openpgp.read_publicKey($('#pubkey').text()); $('#message').val(openpgp.write_encrypted_message(pub_key,$('#message').val())); + window.alert("This message is going to be sent:\n" + $('#message').val()); }