add KeyModule example to browser
This commit is contained in:
parent
8f61401099
commit
948f4bb283
@ -38,6 +38,15 @@
|
||||
|
||||
});
|
||||
|
||||
|
||||
var Key = bitcore.KeyModule.Key;
|
||||
var k = Key.generateSync();
|
||||
|
||||
print ('Generated Key Pair:');
|
||||
print ('Private:' + bitcore.buffertools.toHex(k.private));
|
||||
print ('Public:' + bitcore.buffertools.toHex(k.public));
|
||||
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user