add KeyModule example to browser

This commit is contained in:
Matias Alejo Garcia 2014-03-04 17:45:01 -03:00
parent 8f61401099
commit 948f4bb283

View File

@ -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>