Computing.Net > Forums > Programming > working with large numbers in RSA

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

working with large numbers in RSA

Reply to Message Icon

Name: sanjeevkanth
Date: July 17, 2003 at 23:13:35 Pacific
OS: win 98
CPU/Ram: celeron / 128
Comment:

Iam working on RSA algorithm. I need to understand how one can work with large numbers as long as 100 digits , large prime generations. And then we need to add , * , / , ^ such large numbers .But no programming language gives us the way to deal with numbers as long as 100 digits. In java the limit is 19 - 20 digits. What is the possible solution to this problem . And is there any RSA algorithm (practical one) available any where on net.



Sponsored Link
Ads by Google

Response Number 1
Name: anonproxy
Date: July 18, 2003 at 09:20:43 Pacific
Reply:

Over 200 digits is not uncommon.

"But no programming language gives us the way to deal with numbers as long as 100 digits"

Read some of this:
http://pajhome.org.uk/crypt/rsa/implementation.html

Note the .BigInteger (as in java.math.BigInteger).


http://www.cs.appstate.edu/~sjg/class/1010/mathematician/rsa.html
http://oregonstate.edu/dept/honors/makmur/
http://www.di-mgt.com.au/rsa_alg.html
http://www.cryptix.org/



0

Response Number 2
Name: SN
Date: July 18, 2003 at 10:31:40 Pacific
Reply:

Also note that java has quite a few RSA classes available for use, and they do seem to use BigInteger. See what they've got at http://java.sun.com/j2se/1.4.1/docs/api/
-SN


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: working with large numbers in RSA

can FORTRAN work with large numbers? www.computing.net/answers/programming/can-fortran-work-with-large-numbers/1140.html

work with unix shellscripts in xp www.computing.net/answers/programming/work-with-unix-shellscripts-in-xp/4979.html

Using fread with a large file www.computing.net/answers/programming/using-fread-with-a-large-file-/10254.html