View | Details | Raw Unified | Return to bug 9611
Collapse All | Expand All

(-)a/C4/Auth.pm (-3 / +2 lines)
Lines 1486-1491 sub hash_password { Link Here
1486
    use C4::Auth;
1486
    use C4::Auth;
1487
    my $salt = C4::Auth::generate_salt($strength, $length);
1487
    my $salt = C4::Auth::generate_salt($strength, $length);
1488
1488
1489
=over
1490
1489
=item strength
1491
=item strength
1490
1492
1491
For general password salting a C<$strength> of C<weak> is recommend,
1493
For general password salting a C<$strength> of C<weak> is recommend,
Lines 1494-1501 For generating a server-salt a C<$strength> of C<strong> is recommended Link Here
1494
'strong' uses /dev/random which may block until sufficient entropy is acheived.
1496
'strong' uses /dev/random which may block until sufficient entropy is acheived.
1495
'weak' uses /dev/urandom and is non-blocking.
1497
'weak' uses /dev/urandom and is non-blocking.
1496
1498
1497
=back
1498
1499
=item length
1499
=item length
1500
1500
1501
C<$length> is a positive integer which specifies the desired length of the returned string
1501
C<$length> is a positive integer which specifies the desired length of the returned string
1502
- 

Return to bug 9611