show sent message
This commit is contained in:
parent
ca20079efa
commit
9ad5116d3c
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user