954,545 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Convert string "aA" to a BigInteger

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

kedklok
Newbie Poster
4 posts since Mar 2006
Reputation Points: 10
Solved Threads: 0
 

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?

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

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

kedklok
Newbie Poster
4 posts since Mar 2006
Reputation Points: 10
Solved Threads: 0
 

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.

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You