Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Crypto

by moxliukas (Curate)
on Oct 28, 2002 at 15:06 UTC ( #208517=note: print w/ replies, xml ) Need Help??


in reply to Crypto

Generating password for users? Isn't that supposed to be done with rand()?

Something like this:

my @possible_chars = 'a'..'z'; my $passw = ''; $passw .= $possible_chars[int rand scalar @possible_chars] for(1..8);

Either that, or I have totally misunderstood your question. Sorry if that is the case.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://208517]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2016-06-29 18:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (385 votes). Check out past polls.