summaryrefslogtreecommitdiffstats
path: root/node_modules/miller-rabin/1.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/miller-rabin/1.js')
-rw-r--r--node_modules/miller-rabin/1.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/node_modules/miller-rabin/1.js b/node_modules/miller-rabin/1.js
new file mode 100644
index 0000000..9295378
--- /dev/null
+++ b/node_modules/miller-rabin/1.js
@@ -0,0 +1,7 @@
+'use strict';
+
+const BN = require('bn.js');
+
+const p = new BN('2e1b162f326430f5ac6af10f96b2a8350e01675d22324c9f', 'hex');
+
+console.log(p.bitLength());