dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Fix 'Tags' padding to keep it farther from the edge and document the source...
[lhc/web/wiklou.git]
/
includes
/
password
/
Pbkdf2Password.php
diff --git
a/includes/password/Pbkdf2Password.php
b/includes/password/Pbkdf2Password.php
index
541fd0e
..
6065045
100644
(file)
--- a/
includes/password/Pbkdf2Password.php
+++ b/
includes/password/Pbkdf2Password.php
@@
-47,7
+47,7
@@
class Pbkdf2Password extends ParameterizedPassword {
public function crypt( $password ) {
if ( count( $this->args ) == 0 ) {
- $this->args[] = base64_encode(
MWCryptRand::generate( 16, true
) );
+ $this->args[] = base64_encode(
random_bytes( 16
) );
}
if ( $this->shouldUseHashExtension() ) {