aboutsummaryrefslogtreecommitdiffstats
path: root/docs/demo/bls-demo.js
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-10-09 17:02:27 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-10-09 17:02:27 +0800
commit2b376693509b9a24aa0fa1ef18a8f46d44b02f66 (patch)
tree7993402b9885d6a504a0899e11b9a4f384888da5 /docs/demo/bls-demo.js
parentc49bd0cb2bcec4c75cc1a50de775635e8d33ee66 (diff)
downloaddexon-bls-2b376693509b9a24aa0fa1ef18a8f46d44b02f66.tar
dexon-bls-2b376693509b9a24aa0fa1ef18a8f46d44b02f66.tar.gz
dexon-bls-2b376693509b9a24aa0fa1ef18a8f46d44b02f66.tar.bz2
dexon-bls-2b376693509b9a24aa0fa1ef18a8f46d44b02f66.tar.lz
dexon-bls-2b376693509b9a24aa0fa1ef18a8f46d44b02f66.tar.xz
dexon-bls-2b376693509b9a24aa0fa1ef18a8f46d44b02f66.tar.zst
dexon-bls-2b376693509b9a24aa0fa1ef18a8f46d44b02f66.zip
[js] add BlsId class
Diffstat (limited to 'docs/demo/bls-demo.js')
-rw-r--r--docs/demo/bls-demo.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/demo/bls-demo.js b/docs/demo/bls-demo.js
index 21ea201..a00228d 100644
--- a/docs/demo/bls-demo.js
+++ b/docs/demo/bls-demo.js
@@ -351,3 +351,12 @@ function onClickTestShare()
}
}
+function onClickTestMisc()
+{
+ let idDec = getValue('idDec')
+ console.log('idDec=' + idDec)
+ var id = new BlsId()
+ id.setDecStr(idDec)
+ setText('idHex', id.getHexStr())
+ setText('idDec2', id.getDecStr())
+}