Ninjastic
Home
Search
Users
Boards
Addresses
Ctrl + K
Toggle theme
Open menu
Post
Edited versions
Quotes to this post
Post
4680632
Topic
428364
Board
Altcoin Discussion
Topic OP
[XPM] Primality testing - why Fermat's test?
by
antimony
on
23/01/2014, 07:27:34 UTC
Why do most (if not all) miners use a form of Fermat's primality test (
http://en.wikipedia.org/wiki/Fermat_primality_test
), instead of another probabilistic test?
Sure, it's fast, but wouldn't something like the MillerRabin test (
http://en.wikipedia.org/wiki/Miller-Rabin_primality_test
) work a bit better (according to the Wikipedia article, the big-O time is the same.