src/wp-includes/class-phpass.php | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/src/wp-includes/class-phpass.php b/src/wp-includes/class-phpass.php
index 8b8b113194..74d9a22a7f 100644
|
a
|
b
|
class PasswordHash { |
| 62 | 62 | self::__construct( $iteration_count_log2, $portable_hashes ); |
| 63 | 63 | } |
| 64 | 64 | |
| | 65 | /** |
| | 66 | * Attempts to get random string. |
| | 67 | * |
| | 68 | * @since 2.9.0 |
| | 69 | * |
| | 70 | * @param integer $count number as input parameter. |
| | 71 | * @return string get random string. |
| | 72 | */ |
| 65 | 73 | function get_random_bytes($count) |
| 66 | 74 | { |
| 67 | 75 | $output = ''; |
| … |
… |
class PasswordHash { |
| 85 | 93 | return $output; |
| 86 | 94 | } |
| 87 | 95 | |
| | 96 | /** |
| | 97 | * Attempts to encode string. |
| | 98 | * |
| | 99 | * @since 2.9.0 |
| | 100 | * |
| | 101 | * @param integer $count number as input parameter. |
| | 102 | * @param string $input string to be encoded. |
| | 103 | * @return string encoded string. |
| | 104 | */ |
| 88 | 105 | function encode64($input, $count) |
| 89 | 106 | { |
| 90 | 107 | $output = ''; |