Thursday, September 14, 2006 09:52 AM
I have a String which is a combination of 8 different fields. Length of the String is around 100 characters. I have to generate an encrypted key of around 32 characters from this String. Can anyone please suggest how to do this.
I have tried the DES algorithm and javax.crypto.Cipher class and sun.misc.BASE64Encoder class.
Using this it is generating Encrypted String around 130 characters.
Can anyone suggest me how to achieve the Encrypted key having length around 32 characters.