and adding my own concept in rsa
Which, unless you're quite a skilled cryptanalyst, will probably ruin the algorithm's strength.Is there any technique by use of that i can compact this string
A typical way to compact cipher text is converting it to a base-64 string. This has the dual benefit of making the cipher text both smaller and widely portable.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
Does your string only contain the values 0-9 and the letter A? If so, you only need 4 bits to store that, which means you can pack 2 characters in each byte, halving the amount of storage required.
Momerath
Nearly a Senior Poster
3,384 posts since Aug 2010
Reputation Points: 1,232
Solved Threads: 558