Skip to content

Module cryptography-bigint

BigInt: an arbitrary-precision integer.

The module is currently experimental and is subject to API/ABI changes

On current moment BigInt provides only simple operations:

Depending on target/platform uses:

Example

val bigInt: BigInt = "1232186768767".toBigInt()

println(bigInt > 0) // prints "true"

Using in your projects

dependencies {
    implementation("dev.whyoleg.cryptography:cryptography-bigint:0.3.0")
}

Package dev.whyoleg.cryptography.bigint

BigInt: an arbitrary-precision integer.