| Added: November/21/2006 at 12:16pm | IP Logged
|
|
|
it actually works exactly the same way.. you feed it the text to use, then you feed it the encryption key information.. that's all there is to it..
My guess is you dont understand that values in the web.config file must be set up in order to be used on in your code...
for example
in ASP.NET 1.1 it would be
Dim ASPPEncryptionKey As String = ConfigurationSettings.AppSettings("ASPPEncryptionKey")
in ASP.NET 2.0 it would be
Dim ASPPEncryptionKey As String = ConfigurationManager.AppSettings("ASPPEncryptionKey")
then you can use the variable ASPPEncryptionKey with the function... or you can always put the actual encryption key text in the function as a string surrrouned by quotes... either way will work...
with the variable it would look like this
RC4(Password, ASPPEncryptionKey)
__________________
Best Regards,
Christopher Williams
www.CJWSoft.com
|