Brick\Math v0.8.16 Release Notes
Release Date: 2020-08-18 // over 3 years ago-
๐ ๐ Critical fix
- ๐ This version reintroduces the deprecated
BigInteger::parse()
method, that has been removed by mistake in version0.8.9
and should have lasted for the whole0.8
release cycle.
๐ โจ New features
BigInteger::modInverse()
calculates a modular multiplicative inverseBigInteger::fromBytes()
creates aBigInteger
from a byte stringBigInteger::toBytes()
converts aBigInteger
to a byte stringBigInteger::randomBits()
creates a pseudo-randomBigInteger
of a given bit lengthBigInteger::randomRange()
creates a pseudo-randomBigInteger
between two bounds
๐ ๐ฉ Deprecations
- ๐
BigInteger::powerMod()
is now deprecated in favour ofmodPow()
- ๐ This version reintroduces the deprecated