How to generate user passwords

Bill Vlahos bvlahos at mac.com
Wed Apr 27 19:35:49 EDT 2011


Mark,

Nice. Thank you.

I want to add a feature to InfoWallet to generate passwords for a user so the user doesn't have to think them up. InfoWallet can manage the passwords and can automate login in to a web page or application using the Login Assistant feature with as little as 2 clicks. Your function generates very random strings which might be too random for a user to remember on their own.

I didn't know you can just specify "repeat theLength".

Bill Vlahos
_________________
InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure.

On Apr 27, 2011, at 12:45 PM, Mark Schonewille wrote:

> Bill,
> 
> I made this as part of another discussion about speakable passwords.
> 
> function speakablePassword theLength
>     put "bcdfghjklmnprstwyz" into myConsonants
>     put "aeiou" into myVowels
>     put "" into myPass
>     repeat myPasswordLength
>          if char -1 of myPass is in myConsonants then
>               if char -2 of myPass is in myConsonants or \
>                   length(myPass = 9) then
>                    put any char of myVowels after myPass
>               else
>                    if any item of "true,false" then
>                         put any char of myVowels after myPass
>                    else
>                         put any char of myConsonants after myPass
>                    end if
>               end if
>          else
>               put any char of myConsonants after myPass
>          end if
>     end repeat
>     return myPass
> end speakablePassword
> 
> Since you didn't say what you want to use the passwords for, I don't know if this will be helpful, but I'm posting it anyway.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce
> 
> On 27 apr 2011, at 20:45, Bill Vlahos wrote:
> 
>> Before I reinvent the wheel, has anyone written a routine to generate passwords that they would be willing to share?
>> 
>> Bill Vlahos
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list