Skip to content

A browserify implementation of node-bignum

License

MIT, GPL-3.0 licenses found

Licenses found

MIT
LICENCE
GPL-3.0
LICENSE
Notifications You must be signed in to change notification settings

BTWhite/bignumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

browserify-bignum

A JavaScript implementation of node-bignum forked from the wonderful work done by MikeMcl as bignumber.js

Usage

API functionality should be identical to that of node-bignum. However, a few methods are missing:

  • BigNumber.prime(bits, safe=true)
  • .toNumber()
  • .and(n)
  • .or(n)
  • .xor(n)
  • .invertm(n)
  • .rand()
  • .probPrime()
  • .root(n)
  • .shiftLeft(n)
  • .shiftRight(n)
  • .gcd(n)
  • .jacobi(n)

I have no intention of implementing them if you would like to do so and submit a pull request I would happily accept it. I wrote this library so I could browserify node-srp which does not require any of the above mentioned methods.

About

A browserify implementation of node-bignum

Resources

License

MIT, GPL-3.0 licenses found

Licenses found

MIT
LICENCE
GPL-3.0
LICENSE

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published