Convert string "aA" to a BigInteger

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Mar 2006
Posts: 4
Reputation: kedklok is an unknown quantity at this point 
Solved Threads: 0
kedklok kedklok is offline Offline
Newbie Poster

Convert string "aA" to a BigInteger

 
0
  #1
Mar 3rd, 2006
hi,

i was wondering if someone can help me. i am trying trying to convert a string containing aA into a bigInteger Value. i've read about it but have no idea how to implement it in java.

thanks in advanced,

K
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,266
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 377
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: Convert string "aA" to a BigInteger

 
0
  #2
Mar 3rd, 2006
Originally Posted by kedklok
hi,

i was wondering if someone can help me. i am trying trying to convert a string containing aA into a bigInteger Value. i've read about it but have no idea how to implement it in java.

thanks in advanced,

K
This makes no sense. Care to elaborate?
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 4
Reputation: kedklok is an unknown quantity at this point 
Solved Threads: 0
kedklok kedklok is offline Offline
Newbie Poster

Re: Convert string "aA" to a BigInteger

 
0
  #3
Mar 3rd, 2006
thanks for replying,

i need it for RSA and to produce really large integer values, do you know ow to change it into a regular integer and i can start from there

thanks

k
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,266
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 377
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: Convert string "aA" to a BigInteger

 
0
  #4
Mar 3rd, 2006
Originally Posted by kedklok
thanks for replying,

i need it for RSA and to produce really large integer values, do you know ow to change it into a regular integer and i can start from there

thanks

k
You'll need to write you own library to handle big ints- or possibly check out the java api to see if one already exists.

If you look here,
http://world.std.com/~reinhold/BigNumCalc.html

there is some java source code near the bottom. It may or maynot be of use to you.
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC