mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-21 20:34:57 +09:00
The IV parameter must be as long as the blocksize fix
This commit is contained in:
1 parent
44de972ed1
commit
8cb44db3f4
1 file changed
+1
-1
@@ -63,6 +63,6 @@ class Box_Crypt implements \Box\InjectionAwareInterface
|
||||
if (null == $pass) {
|
||||
$pass = $this->di['config']['salt'];
|
||||
}
|
||||
return pack('H*', hash('sha256', $pass));
|
||||
return pack('H*', hash('md5', $pass));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user