Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Crypto

by moxliukas (Curate)
on Oct 28, 2002 at 15:06 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://208517]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-24 04:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found