Skip to content

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

License

Notifications You must be signed in to change notification settings

ninja-dart/prime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages