diff --git a/apps/files_encryption/exception/encryptionexception.php b/apps/files_encryption/exception/encryptionexception.php
index 2fb679e91d2c3244dc07723c9b5ff31fb2047d1f..24ffaff6f73808f48bf52bad95f78104a1b1e52c 100644
--- a/apps/files_encryption/exception/encryptionexception.php
+++ b/apps/files_encryption/exception/encryptionexception.php
@@ -40,7 +40,7 @@ namespace OCA\Files_Encryption\Exception;
 class EncryptionException extends \Exception {
 	const GENERIC = 10;
 	const UNEXPECTED_END_OF_ENCRYPTION_HEADER = 20;
-	const UNEXPECTED_BLOG_SIZE = 30;
+	const UNEXPECTED_BLOCK_SIZE = 30;
 	const ENCRYPTION_HEADER_TO_LARGE = 40;
 	const UNKNOWN_CIPHER = 50;
 	const ENCRYPTION_FAILED = 60;
diff --git a/apps/files_encryption/lib/stream.php b/apps/files_encryption/lib/stream.php
index b039e808c2496e5abc8f8c0e1ca5a49a8f2900d2..644ac895a8f1c0975eaa4a5a43373fa96a027e31 100644
--- a/apps/files_encryption/lib/stream.php
+++ b/apps/files_encryption/lib/stream.php
@@ -260,7 +260,7 @@ class Stream {
 
 		if ($count !== Crypt::BLOCKSIZE) {
 			\OCP\Util::writeLog('Encryption library', 'PHP "bug" 21641 no longer holds, decryption system requires refactoring', \OCP\Util::FATAL);
-			throw new EncryptionException('expected a blog size of 8192 byte', EncryptionException::UNEXPECTED_BLOG_SIZE);
+			throw new EncryptionException('expected a block size of 8192 byte', EncryptionException::UNEXPECTED_BLOCK_SIZE);
 		}
 
 		// Get the data from the file handle