Class Bignum

extends Object
An arbitrary-precision integer type.
Note
Operations are not constant-time, so this library is not suitable for many cryptographic tasks.
Note
Even on host machines you may get out-of-memory errors for very large numbers. The underlying MbedTLS library is compiled with a maximum number of base-256 digits, often 10_000.

Class summary


with-bytes negative_/bool limbs_/ByteArray -> Bignum
hex data/string -> Bignum

Statics

hex data/string -> Bignum

with-bytes negative_/bool limbs_/ByteArray -> Bignum

Methods

operator - other/any -> Bignum

operator * other/any -> Bignum

operator / other/any -> Bignum

operator % other/any -> Bignum

operator + other/any -> Bignum

operator == other/any -> bool