1
0
Fork 0
mirror of synced 2024-07-09 08:27:01 +12:00

fix depractation notice

This commit is contained in:
Damodar Lohani 2024-05-06 07:03:51 +00:00
parent e25e7f8ec7
commit add3c6b75b

View file

@ -263,7 +263,7 @@ class Phpass extends Hash
*/ */
$itoa64 = './ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; $itoa64 = './ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
$output = '$2a$'; $output = '$2a$';
$output .= chr(ord('0') + $options['iteration_count_log2'] / 10); $output .= chr(ord('0') + intval($options['iteration_count_log2'] / 10));
$output .= chr(ord('0') + $options['iteration_count_log2'] % 10); $output .= chr(ord('0') + $options['iteration_count_log2'] % 10);
$output .= '$'; $output .= '$';
$i = 0; $i = 0;