@ -76,7 +76,7 @@ class Hooks {
&& $encLegacyKey = $userView->file_get_contents('encryption.key')
) {
$plainLegacyKey = Crypt::legacyBlockDecrypt($encLegacyKey, $params['password']);
$plainLegacyKey = Crypt::legacyDecrypt($encLegacyKey, $params['password']);
$session->setLegacyKey($plainLegacyKey);
@ -608,7 +608,7 @@ class Crypt {
*
* This function decrypts an content
*/
private static function legacyDecrypt($content, $passphrase = '') {
public static function legacyDecrypt($content, $passphrase = '') {
$bf = self::getBlowfish($passphrase);