Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

vb.net function to check new password's significant uniqueness

Posted on 2012-03-15
2
Medium Priority
?
216 Views
Last Modified: 2012-03-19
One of our new password strength criteria is for the new password to be uniquely different from the old one.  For example I'm trying to prevent things like:
   Old Password: TestPass01
   New Password: TestPass02

I've been looking online all day.  I guess I'm just not using the correct key words in my searches.
0
Comment
Question by:Steve Sirica
2 Comments
 
LVL 38

Accepted Solution

by:
PaulHews earned 2000 total points
ID: 37726400
If you are hashing the password, then you can't.  You can only tell if they are identical, which is the point of hashing.

If you are storing the password, then you should consider storing the hash instead.

Assuming you are storing the password, you could do use a longest common sub-string type of algorithm and prevent instances where the common substring is almost equal to the length of the new password.

http://en.wikibooks.org/wiki/Algorithm_Implementation/Strings/Longest_common_substring
0
 
LVL 4

Author Closing Comment

by:Steve Sirica
ID: 37737255
I can make that work.  Thanks.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Integration Management Part 2
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question