Paul:
I mis-read your mail. I thought you were looking for a bit of code to generate 
a password.
Sorry...but perhaps it will come in handy sometime.
Regards,

Jack


________________________________________
From: [email protected] [[email protected]] On Behalf Of 
Paul Newton [[email protected]]
Sent: Wednesday, January 14, 2009 2:05 PM
To: [email protected]
Subject: Re: Password strength

Thanks Jack - I'm sure this could come in handy even though it's not
what I was looking for :)

Paul

Jack Skelley wrote:
> Paul:
> Try this:
>
> local lcGen_sec, i, lcGen_letter
> lcGen_sec = ""
> rand(-1)
> i = 1
> do while i <> 11
>   lcGen_letter = int((122-48+1)*rand()+48)
>   if (lcGen_letter > 57 and lcGen_letter < 65) or (lcGen_letter > 90 and 
> lcGen_letter < 97) then
>      loop
>   endif
>   lcGen_sec = lcGen_sec + chr(lcGen_letter)
>   i = i + 1
> enddo
> return lcGen_sec
>
> You can change the lcGen_letter equate to any character range you want. And i 
> to make it any length.
> A strong password should have uppercase, lowercase and numbers. Not sure if 
> it would also include special characters.
> Regards,
>
> Jack Skelley
> ________________________________________
> From: [email protected] [[email protected]] On Behalf 
> Of Paul Newton [[email protected]]
> Sent: Wednesday, January 14, 2009 10:53 AM
> To: [email protected]
> Subject: Password strength
>
> Hi all
>
> On some web sites which require the entry of a password there is a 
> dynamically updated "password strength indicator" which depends on password 
> length, mix of alpha, numeric and special characters and so on.
>
> Any suggestions for an algorithm to do something similar in VFP ?
>
> Thanks
>
> Paul Newton
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/0b957900b2b8194d998a441195b66038380881a...@drdsrv03.drdad.thenewarkarena.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to