Thanks for the help. Here is what i am doing:
I am writing Voice Enabled .NET application. Problem is that i don't want user to say their username and password as it's kinda extra work. So i wrote small route that encrypts username and password, and gives user Randomized number. Problem is i don't want anybody to know the Key as this application will have access to sensitive data. FOllowing is sample code: gKey = "HijsiImnjfiuIHJNkdhj123!hdjhd*njdhd" ' I want to hide this Dim feService As New FE_Symmetric() Dim strUsername, strPassword As [String] Dim i As Integer strUsername = feService.EncryptData(gKey, username.Text) Response.Write("Username: " & strUsername & "<br>") strPassword = feService.EncryptData(gKey, password.Text) Response.Write("Username: " & strPassword & "<br>") strUsername = feService.DecryptData(gKey, strUsername) Response.Write("Username: " & strUsername & "<br>") strPassword = feService.DecryptData(gKey, strPassword) Response.Write("Username: " & strPassword & "<br>") Response.Write("Your Username to access Email is: " & Int ((99999 * Rnd()) + 1)) hope this explains it. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.