import BigInteger from 'jsbn'
.require('jsbn')
no longer returns BigInteger
. Use require('jsbn').BigInteger
instead.require('jsbn') != BigInteger
. This patch version allows for var BigInteger = require('jsbn')
or var BigInteger = require('jsbn').BigInteger
.