Print Page | Close Window

Encryption

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1781
Printed Date: 21-Apr-2026 at 5:49am


Topic: Encryption
Posted By: orcities
Subject: Encryption
Date Posted: 04-May-2010 at 4:07pm
In the previous version, classic, I used IdeaBlade.Util.CryptoFns.MD5HashUTF16ToString to encrypt my passwords. Is this still around or do I need to perform some magic to get my users to login?



Replies:
Posted By: ting
Date Posted: 04-May-2010 at 6:17pm
You just use the standard .NET libraries in System.Security.Cryptography for this now.  MD5 has already been broken and is considered insecure, so I'd recommend one of the SHA classes for hashing.  Also, the System.Convert.ToBase64String (and FromBase64String) are very handy to use with the cryptographic functions.
 
We're also recommending people take a look at using ASP.NET Security instead of creating their own authentication table.
 
If you have an existing login table and need to duplicate the logic of the original hash from DevForce Classic, open a support case and we can send you the source code for the MD5 CryptoFns.
 


Posted By: orcities
Date Posted: 05-May-2010 at 7:44am
Tx for the offer. Luckily I only have a handful of users. I will just reset their passwords.



Print Page | Close Window