Solved

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

Posted on 2012-03-15
2
210 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

632 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