Print Page | Close Window

Converting Function in ASP.Net to ASP

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: ASP.NET Discussion
Forum Description: Discussion and chat on ASP.NET related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=15714
Printed Date: 29 March 2026 at 9:20am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Converting Function in ASP.Net to ASP
Posted By: Misty
Subject: Converting Function in ASP.Net to ASP
Date Posted: 04 July 2005 at 1:58am

I need help with converting the following function in ASP.Net (VB.Net) to Classic ASP:

Function EncryptIt(_strClearText as String, _strEncryptionType as String) as String
dim strEncryptedText as String
'Encrypt the text
strEncryptedText = FormsAuthentication.HashPasswordForStoringInConfigFile(_strClearText, _strEncryptionType)
return strEncryptedText
End Function
 



Replies:
Posted By: michael
Date Posted: 04 July 2005 at 9:49am
You would need a seperate function for encrypting to sha1 or md5 whichever you are using. I am sure there are tons of functions on aspin.com or so.

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net