Merge pull request #542 from maraoz/fix/ECIES-browser-example

Fixes accidental comment
This commit is contained in:
Esteban Ordano 2014-10-21 11:45:18 -03:00
commit c380e4698a
1 changed files with 0 additions and 1 deletions

View File

@ -10,7 +10,6 @@
var key = bitcore.Key.generateSync();
console.log('Private key: ' + key.private.toString('hex'));
console.log('Public key: ' + key.public.toString('hex'));
/* Crash happens here */
var message = new Buffer('This is a message to be encrypt');
console.log('Message: "' + message.toString() + '"');
var encrypted = bitcore.ECIES.encrypt(key.public, message);