Skip to content

0.8.16

Compare
Choose a tag to compare
@BenMorel BenMorel released this 18 Aug 09:04
· 141 commits to master since this release

πŸš‘ Critical fix

  • This version reintroduces the deprecated BigInteger::parse() method, that has been removed by mistake in version 0.8.9 and should have lasted for the whole 0.8 release cycle.

✨ New features

  • BigInteger::modInverse() calculates a modular multiplicative inverse
  • BigInteger::fromBytes() creates a BigInteger from a byte string
  • BigInteger::toBytes() converts a BigInteger to a byte string
  • BigInteger::randomBits() creates a pseudo-random BigInteger of a given bit length
  • BigInteger::randomRange() creates a pseudo-random BigInteger between two bounds

πŸ’© Deprecations

  • BigInteger::powerMod() is now deprecated in favour of modPow()