Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
ASPProtect.NET Authentication Add-On Support Archives (Info Locked Info Locked)
 CJWSoft Support Info : ASPProtect.NET Authentication Add-On Support Archives
Subject Info: encryption A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
flesso
Member
Member
Avatar

Joined: June/15/2006
Online Status: Offline
Info: 75
Added: November/21/2006 at 6:56am | IP Logged Quote flesso

how would i be able to encrypt the password... i can save it all to the database unencrypted, but how do you encrypt it with asp.net .... i have the function which you sent me...

in the classic asp version of aspprotect i see that you encrypt it like this:
RC4(Password, PasswordEncryptionKey)

now whats the asp.net version of that
??
Regards,
Josh Hold
Back to Top View flesso's Profile Search for other info by flesso
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: November/21/2006 at 12:16pm | IP Logged Quote cwilliams

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
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 

Sorry, you can NOT post info.
This info has been locked by a info administrator.

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area


Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.powerasp.com,www.aspclassifieds.com,www.aspphotogallery.com,www.codewanker.com