Solved

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

Posted on 2012-03-15
2
192 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 500 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

823 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