From db8f267647a8d6682f132f8d6dc1334daf90fa4e Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 4 Jan 2016 23:10:51 +0100 Subject: [PATCH] Add note about the addPadding function --- apps/encryption/lib/crypto/crypt.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/encryption/lib/crypto/crypt.php b/apps/encryption/lib/crypto/crypt.php index ffb64d640dc..1cbf39a82bf 100644 --- a/apps/encryption/lib/crypto/crypt.php +++ b/apps/encryption/lib/crypto/crypt.php @@ -288,6 +288,10 @@ class Crypt { } /** + * Note: This is _NOT_ a padding used for encryption purposes. It is solely + * used to achieve the PHP stream size. It has _NOTHING_ to do with the + * encrypted content and is not used in any crypto primitive. + * * @param string $data * @return string */ -- 2.39.5