diff --git a/apps/files_encryption/lib/crypt.php b/apps/files_encryption/lib/crypt.php
index 9345712a455f7c433d872e387c2bf7afd1a75592..33f9fc2060d16da56dada22099154b1fe2fdc061 100755
--- a/apps/files_encryption/lib/crypt.php
+++ b/apps/files_encryption/lib/crypt.php
@@ -623,7 +623,7 @@ class Crypt
 	 * @param int $maxLength
 	 * @return string
 	 */
-	private static function legacyBlockDecrypt( $data, $key = '', $maxLength = 0 ) {
+	public static function legacyBlockDecrypt( $data, $key = '', $maxLength = 0 ) {
 		$result = '';
 		while ( strlen( $data ) ) {
 			$result .= self::legacyDecrypt( substr( $data, 0, 8192 ), $key );