Here is an implementation of Miller Rabin Primality Test. It was originally in C# and was converted to VB.net with some modifications and additions.
Note: If there is anything wrong or can be improved please comment. I am also not 100 percent sure this is Miller Rabin it is what I found as I was searching for Miller Rabin, but this is still a Primality Test (more accurately this is a composites test).
No comments:
Post a Comment