Jump to content


Photo

Handling VERY Large Integers (512-bit +)


  • Please log in to reply
No replies to this topic

#1 vladinecko

vladinecko
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 16 August 2006 - 01:49 PM

I'm writing a DSA library for which I need to generate very large primes (512-1024-bit). To generate such large primes I need perform a series of tests (Rabin-Miller) that will possibly make these numbers even greater. Now, I know the integer data type is directly depended on the server machine which can handle number way smaller than what I need.

Is there a trick or possibly an alternative way of dealing with such large numbers in PHP?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users