Hi all, I am doing some Encryption type studies and have encrypted then decrypted ok( I think). I am struggling to get what was initially a simple text file converted to byte then BigInteger, back to the same presentable text.
Can someone advise a process from BigInteger to a file save state. What I have tried with all sorts of variations is from BigInteger, to byte  via the toByteArray() method then String = new String(byte)..but still have all munched up characters when I view the file..
Any help appreciated. [ August 20, 2004: Message edited by: Stan Wilson ]
Joined: Aug 02, 2004
Since you have a text file it makes more sense to use the BigInteger(String) constructor. Try the following steps: