diff --git a/apps/files_encryption/lib/util.php b/apps/files_encryption/lib/util.php
index c98e21cdcb73a3bd4c2bf815c14211e13c7e13f9..ce5e8c8b54ce4d60309fec7c4c4ee2026f6bf810 100644
--- a/apps/files_encryption/lib/util.php
+++ b/apps/files_encryption/lib/util.php
@@ -385,7 +385,7 @@ class Util {
 			&& $this->isEncryptedPath($path)
 		) {
 
-			$cipher = Helper::getCipher();
+			$cipher = 'AES-128-CFB';
 			$realSize = 0;
 
 			// get the size from filesystem