Decryption in as2

Hi All

I am working in a project which involves in .net and flash(AS2)… and im a flash developer. Now my issue is, through .net i will be getting a encrypted value and i have to decrypt it and use that value in my flash application.

I have surfed few forums but most of those have encryption function. Can any one please help me how to decrypt the encrypted string. And i need the function in AS2

Please help me…

Thanks in advance
Kiran Naram