print the public key

This commit is contained in:
Ryan X. Charles 2014-09-12 13:37:22 -07:00
parent 8b875a5926
commit a095341a07
1 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,8 @@ console.log('The randomly generated address the message is to: ' + address);
var pubkey = Pubkey().fromDER(encbuf.slice(20, 20 + 33));
console.log('Nonce public key: ' + pubkey);
//The owner of the stealth key can check to see if it is for them.
console.log('Is the message for me? ' + (StealthMessage.isForMe(encbuf, sk) ? "yes" : "no"));