develooper Front page | perl.perl5.porters | Postings from May 2003

Re: [DOC PATCH] [perl #1165] crypt accepts any character as salt

Thread Previous
From:
Rafael Garcia-Suarez
Date:
May 9, 2003 13:47
Subject:
Re: [DOC PATCH] [perl #1165] crypt accepts any character as salt
Message ID:
20030509225322.2bb5599b.rgarciasuarez@free.fr
Casey West wrote:
> --- perl-current.orig/pod/perlfunc.pod  Fri May  9 00:58:19 2003
> +++ perl-current/pod/perlfunc.pod       Fri May  9 15:20:09 2003
> @@ -870,7 +870,10 @@
>  
>  When choosing a new salt create a random two character string whose
>  characters come from the set C<[./0-9A-Za-z]> (like C<join '', ('.',
> -'/', 0..9, 'A'..'Z', 'a'..'z')[rand 64, rand 64]>).
> +'/', 0..9, 'A'..'Z', 'a'..'z')[rand 64, rand 64]>).  This set of
> +characters is just a recommendation; the characters allowed in
> +the salt depend solely on your system's crypt library, and Perl can't
> +restrict what salts C<crypt()> accepts.

Thanks, applied as #19463.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About