| Written by Pham Ngoc Hai, on 27-11-2007 15:11 |
A simple Miller-Rabin prime number test I wrote in Java.
Along with this method I implemented isWitness as well as the modulo power by bit shifting method.
Feel free to comment ;)
=================
Update:
Someone requested for myBigRanNum and FactorOfTwo, I put them here as well, enjoy.
=================
Last update: 15-03-2008 09:14
|