Im using MD5 for encrypt the string. but it generate 32 digit of character. i feel its too long. i need 8 or 10 digit of character. How its possible to convert any length of original text to 8 or 10 digit of encrypted text?
And i need decrypt also. how to achieve this?