Password Generator

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 55671
interpreted = N
texte = A contibution to the list. Definitely could be improved -- like having the option of capital letters, for instance, and perhaps eliminating/consolidating some [loops] for faster processing, also my long list of [showifs] could be consolidated into something more elegant, but all in all I find this useful, and if you needed more than an 8 character string, just change the [how_many_characters] value to what you need... 128 bit anyone ;) ======================= [!] -- PASSWORD-GENERATOR, created by Dan "I ain't 'fraid of no loop" Strong, 2004. FREEWARE. --[/!] [text show=f]how_many_characters=8[/text] [loop start=1&end=[how_many_characters]] [math show=f]HEADS_OR_TAILS=ceil([RANDOM format=float]*(2))[/math] [showif [HEADS_OR_TAILS]=1][text show=f]character_type=NUMBER[/text][/showif] [showif [HEADS_OR_TAILS]=2][text show=f]character_type=LETTER[/text][/showif] [showif [character_type]=NUMBER] [math show=f]DIGIT_[index]=ceil([RANDOM format=float]*(9))[/math] [/showif] [showif [character_type]=LETTER] [math show=f]ALPHABET=ceil([RANDOM format=float]*(26))[/math] [showif [ALPHABET]=1][text show=f]DIGIT_[index]=a[/text][/showif]  [showif [ALPHABET]=2][text show=f]DIGIT_[index]=b[/text][/showif]  [showif [ALPHABET]=3][text show=f]DIGIT_[index]=c[/text][/showif]  [showif [ALPHABET]=4][text show=f]DIGIT_[index]=d[/text][/showif]  [showif [ALPHABET]=5][text show=f]DIGIT_[index]=e[/text][/showif]  [showif [ALPHABET]=6][text show=f]DIGIT_[index]=f[/text][/showif]  [showif [ALPHABET]=7][text show=f]DIGIT_[index]=g[/text][/showif]  [showif [ALPHABET]=8][text show=f]DIGIT_[index]=h[/text][/showif]  [showif [ALPHABET]=9][text show=f]DIGIT_[index]=i[/text][/showif]  [showif [ALPHABET]=10][text show=f]DIGIT_[index]=j[/text][/showif]  [showif [ALPHABET]=11][text show=f]DIGIT_[index]=k[/text][/showif]  [showif [ALPHABET]=12][text show=f]DIGIT_[index]=l[/text][/showif]  [showif [ALPHABET]=13][text show=f]DIGIT_[index]=m[/text][/showif]  [showif [ALPHABET]=14][text show=f]DIGIT_[index]=n[/text][/showif]  [showif [ALPHABET]=15][text show=f]DIGIT_[index]=o[/text][/showif]  [showif [ALPHABET]=16][text show=f]DIGIT_[index]=p[/text][/showif]  [showif [ALPHABET]=17][text show=f]DIGIT_[index]=q[/text][/showif]  [showif [ALPHABET]=18][text show=f]DIGIT_[index]=r[/text][/showif]  [showif [ALPHABET]=19][text show=f]DIGIT_[index]=s[/text][/showif]  [showif [ALPHABET]=20][text show=f]DIGIT_[index]=t[/text][/showif]  [showif [ALPHABET]=21][text show=f]DIGIT_[index]=u[/text][/showif]  [showif [ALPHABET]=22][text show=f]DIGIT_[index]=v[/text][/showif]  [showif [ALPHABET]=23][text show=f]DIGIT_[index]=w[/text][/showif]  [showif [ALPHABET]=24][text show=f]DIGIT_[index]=x[/text][/showif]  [showif [ALPHABET]=25][text show=f]DIGIT_[index]=y[/text][/showif]  [showif [ALPHABET]=26][text show=f]DIGIT_[index]=z[/text][/showif] [/showif] [text show=f]DIGIT_[index]=[interpret][DIGIT_[index]][/interpret][/text] [/loop] [loop start=1&end=[how_many_characters]][interpret][DIGIT_[index]][/interpret][/loop]
Refresh to do it again. ======================= -Dan ------------------------------------------------------------ http://www.StrongGraphicDesign.com http://www.SearchBoise.com ------------------------------------------------------------ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Password Generator (Stuart Tremain 2012)
  2. Re: [WebDNA] Password Generator (Govinda 2012)
  3. [WebDNA] Password Generator (Stuart Tremain 2012)
  4. Re: Password Generator ( "Dan Strong" 2004)
  5. Re: Password Generator ( "Dan Strong" 2004)
  6. Re: Password Generator ( Brian Fries 2004)
  7. Password Generator ( "Dan Strong" 2004)
A contibution to the list. Definitely could be improved -- like having the option of capital letters, for instance, and perhaps eliminating/consolidating some [loops] for faster processing, also my long list of [showifs] could be consolidated into something more elegant, but all in all I find this useful, and if you needed more than an 8 character string, just change the [how_many_characters] value to what you need... 128 bit anyone ;) ======================= [!] -- PASSWORD-GENERATOR, created by Dan "I ain't 'fraid of no loop" Strong, 2004. FREEWARE. --[/!] [text show=f]how_many_characters=8[/text] [loop start=1&end=[how_many_characters]] [math show=f]HEADS_OR_TAILS=ceil([RANDOM format=float]*(2))[/math] [showif [HEADS_OR_TAILS]=1][text show=f]character_type=NUMBER[/text][/showif] [showif [HEADS_OR_TAILS]=2][text show=f]character_type=LETTER[/text][/showif] [showif [character_type]=NUMBER] [math show=f]DIGIT_[index]=ceil([RANDOM format=float]*(9))[/math] [/showif] [showif [character_type]=LETTER] [math show=f]ALPHABET=ceil([RANDOM format=float]*(26))[/math] [showif [ALPHABET]=1][text show=f]DIGIT_[index]=a[/text][/showif]  [showif [ALPHABET]=2][text show=f]DIGIT_[index]=b[/text][/showif]  [showif [ALPHABET]=3][text show=f]DIGIT_[index]=c[/text][/showif]  [showif [ALPHABET]=4][text show=f]DIGIT_[index]=d[/text][/showif]  [showif [ALPHABET]=5][text show=f]DIGIT_[index]=e[/text][/showif]  [showif [ALPHABET]=6][text show=f]DIGIT_[index]=f[/text][/showif]  [showif [ALPHABET]=7][text show=f]DIGIT_[index]=g[/text][/showif]  [showif [ALPHABET]=8][text show=f]DIGIT_[index]=h[/text][/showif]  [showif [ALPHABET]=9][text show=f]DIGIT_[index]=i[/text][/showif]  [showif [ALPHABET]=10][text show=f]DIGIT_[index]=j[/text][/showif]  [showif [ALPHABET]=11][text show=f]DIGIT_[index]=k[/text][/showif]  [showif [ALPHABET]=12][text show=f]DIGIT_[index]=l[/text][/showif]  [showif [ALPHABET]=13][text show=f]DIGIT_[index]=m[/text][/showif]  [showif [ALPHABET]=14][text show=f]DIGIT_[index]=n[/text][/showif]  [showif [ALPHABET]=15][text show=f]DIGIT_[index]=o[/text][/showif]  [showif [ALPHABET]=16][text show=f]DIGIT_[index]=p[/text][/showif]  [showif [ALPHABET]=17][text show=f]DIGIT_[index]=q[/text][/showif]  [showif [ALPHABET]=18][text show=f]DIGIT_[index]=r[/text][/showif]  [showif [ALPHABET]=19][text show=f]DIGIT_[index]=s[/text][/showif]  [showif [ALPHABET]=20][text show=f]DIGIT_[index]=t[/text][/showif]  [showif [ALPHABET]=21][text show=f]DIGIT_[index]=u[/text][/showif]  [showif [ALPHABET]=22][text show=f]DIGIT_[index]=v[/text][/showif]  [showif [ALPHABET]=23][text show=f]DIGIT_[index]=w[/text][/showif]  [showif [ALPHABET]=24][text show=f]DIGIT_[index]=x[/text][/showif]  [showif [ALPHABET]=25][text show=f]DIGIT_[index]=y[/text][/showif]  [showif [ALPHABET]=26][text show=f]DIGIT_[index]=z[/text][/showif] [/showif] [text show=f]DIGIT_[index]=[interpret][DIGIT_[index]][/interpret][/text] [/loop] [loop start=1&end=[how_many_characters]][interpret][DIGIT_[index]][/interpret][/loop]
Refresh to do it again. ======================= -Dan ------------------------------------------------------------ http://www.StrongGraphicDesign.com http://www.SearchBoise.com ------------------------------------------------------------ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ "Dan Strong"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

NetForms for email (1998) [WebDNA] WebDNA 7 64bits for OSX (2012) Bulk Register (2004) Date search - yes or no (1997) [WebDNA] Installing WebDNA on VPS (2008) [append] (1997) Last freebie (1998) looping table rows (1999) [WebDNA] Permission Settings (2009) WebCat2b12 CGI Mac - [shownext] problem (1997) Checkboxes (1998) Mac v. NT (1998) Getting total number of items ordered (1997) Running _every_ page through WebCat ? (1997) [shownext max (1997) RE: protect tag on NT (1997) More Discount Pricing thoughts/efforts (1998) [WebDNA] Poll: Discussion Forum (2009) policies, slightly OT (2004) What file? (1997)