Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: What's the idea of different salts in crypt()?

by oneiros (Scribe)
on Sep 20, 2001 at 10:36 UTC ( [id://113536]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
            my $salt = chr(65+rand(27)).chr(65+rand(27));
            return crypt($p, $salt);
    }
    
  2. or download this
    use strict;
    
    ...
            my $cpass = $1;
            return $cpass;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-19 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found