home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 2 / MECOMP-CD-II.iso / amiga / tools / libs / bignum / examples / killprime.doc < prev    next >
Encoding:
Text File  |  1997-02-06  |  1.4 KB  |  60 lines

  1.  
  2. KillPrime 1.01 ----------> PGP's nightmare !!
  3. --------------
  4.  
  5. *)KillPrime will find (if you are lucky) the prime factors of a given
  6.   number. It will use 3 way of searching.
  7.  
  8. *)KillPrime NEEDS BigNum.library and a 68020 or faster processor.
  9.  
  10. *)KillPrime does'nt do anything, all the algorithms are contained in
  11.   the library !!
  12.  
  13. *)Source included.
  14.  
  15.                 -------------------------------------------
  16.                     KillPrime is a Ringard' Production 96
  17.                 -------------------------------------------
  18.  
  19. BigNum.library is EMailWare.
  20.  
  21. Allenbrand Brice
  22. 5, Rue du Manège
  23. 68100 Mulhouse
  24. FRANCE
  25.  
  26. EMail: allenbrand@nucleus.fr
  27.  
  28.                 -------------------------------------------
  29.  
  30. Usage :
  31. -------
  32.  
  33. KillPrime 122313146587 RHO or DIFFC or BRUTE eventualy DEEP=number
  34.  
  35. examples :
  36. ----------
  37.  
  38. KillPrime 1234567891 RHO
  39. KillPrime 1234567891 RHO DEEP 10
  40. KillPrime 1234567891 RHO DEEP 31
  41. KillPrime 1234567891 DIFFC
  42. KillPrime 1234567891 DIFFC DEEP 10
  43. KillPrime 1234567891 BRUTE            -> DEEP useless
  44.  
  45. RHO, DIFFC and BRUTE are library based methods to search for prime factors.
  46. It  can  be  very  long until they find something, but they search...faster
  47. than you !!
  48.  
  49. By default DEEP=10
  50.  
  51.                 -------------------------------------------
  52.  
  53. !!!:
  54.  
  55. *) Parameter DEEP is only here to decide how long KillPrime will try to strip
  56.    a number.
  57.  
  58. RHO Method : 
  59. *) If a try wasn't lucky, it doesn't mean that a second will fail too ! *Magic*
  60.