ninja_prime 1.0.0

Dart native js
Flutter Android iOS web

Utility functions and methods to generate random BigInt, generate random prime BigInt and check if BigInt is prime.

prime #

Utility functions and methods to generate random BigInt, generate random prime BigInt and check if BigInt is prime.

Usage #

Generate random prime #

print(randomPrimeBigInt(1024));

Check if number is prime #

print(randomPrimeBigInt(1024).isPrime);
0
likes
90
pub points
67%
popularity

Utility functions and methods to generate random BigInt, generate random prime BigInt and check if BigInt is prime.

Repository (GitHub)
View/report issues

Uploader

tejainece@gmail.com

License

BSD (LICENSE)

More

Packages that depend on ninja_prime