Merge pull request #542 from maraoz/fix/ECIES-browser-example
Fixes accidental comment
This commit is contained in:
commit
c380e4698a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue