From 2b376693509b9a24aa0fa1ef18a8f46d44b02f66 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Mon, 9 Oct 2017 18:02:27 +0900 Subject: [js] add BlsId class --- docs/demo/bls-demo.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/demo/bls-demo.js') 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()) +} -- cgit v1.2.3