Browse Source

add KeyModule example to browser

patch-2
Matias Alejo Garcia 11 years ago
parent
commit
948f4bb283
  1. 9
      examples/example.html

9
examples/example.html

@ -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…
Cancel
Save