Hi Naresh
We do have encryption/decryption alogrithm on SAP side. If you search on SCN you will find many techniques. The question is which type of encryption you are looking forward to 32 bit 64 bit etc etc.
Please search you will get a good idea
Nabheet