Bitcoin Forum
June 13, 2024, 10:48:30 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [XPM] Primality testing - why Fermat's test?  (Read 368 times)
antimony (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 23, 2014, 07:27:34 AM
 #1

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 Miller–Rabin 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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!