implicit final class BigIntegerOps extends AnyVal
- Alphabetic
- By Inheritance
- BigIntegerOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new BigIntegerOps(x: BigInteger)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
minusModQ(other: BigInt): BigInt
Subracts this number with
other
by module Q.Subracts this number with
other
by module Q.- Since
2.0
-
def
modQ: BigInt
Returns this
mod
Q, i.e.Returns this
mod
Q, i.e. remainder of division by Q, where Q is an order of the cryprographic group.- Since
2.0
-
def
multInverseModQ: BigInt
Multiply this number with
other
by module Q.Multiply this number with
other
by module Q.- Since
Mainnet
-
def
multModQ(other: BigInt): BigInt
Multiply this number with
other
by module Q.Multiply this number with
other
by module Q.- Since
2.0
-
def
plusModQ(other: BigInt): BigInt
Adds this number with
other
by module Q.Adds this number with
other
by module Q.- Since
2.0
-
final
def
to256BitValueExact: BigInteger
Checks this
BigInteger
can be cust to 256 bit two's-compliment representation, checking for lost information.Checks this
BigInteger
can be cust to 256 bit two's-compliment representation, checking for lost information. If the value of thisBigInteger
is out of the range of the 256 bits, then anArithmeticException
is thrown.- returns
this
BigInteger
if the check is successful
- Annotations
- @inline()
- Exceptions thrown
ArithmeticException
if the value ofthis
will not exactly fit in a 256 bit range.- See also
BigInteger#longValueExact
-
def
toString(): String
- Definition Classes
- Any
- val x: BigInteger