andyperlitch / jsbn

The jsbn library is a fast, portable implementation of large-number math in pure JavaScript, enabling public-key crypto and other applications on desktop and mobile browsers.
Other
167 stars 41 forks source link

jsbn- BigInteger.valueOf method is not implemented. #36

Open pooja30-git opened 4 years ago

pooja30-git commented 4 years ago

l am using jsbn npm module to generate big integer value and in that i need to use valueOf(val) (e.g val is of long type) method, but jsbn has not implemented this method. The same method is available in Java Biginteger library. Is there workaround for valueOf(val) method? If yes please help. Thanks In advance.