Depending on your deployment scenario, you could let Google do the heavy lifting for you ;)
https://www.google.com/accounts/RatePassword?Passwd=poopy On Sat, Aug 15, 2009 at 10:43 AM, Sam Street<sam...@gmail.com> wrote: > > http://pastebin.com/m4fd058a4 > > This code will be able to determine whether a password is weak, ok or > strong based on whether it contains lowercase, uppercase + numbers > > hope thats what you were after > > -Sam @sampicli http://twicli.com > > On Aug 15, 7:33 am, Xpineapple <kenned...@gmail.com> wrote: >> I could probably play with regex all day and get no where (and so far >> am). While I could make some progress, I don't know all the rules for >> a good password. My intent is to ensure server (and service) are >> safe. With that in mind, can anyone provide a "fair enough" regex >> example of sanatizing a password for twitter service? Thanx. > -- Kevin Mesiab CEO, Mesiab Labs L.L.C. http://twitter.com/kmesiab http://mesiablabs.com http://retweet.com