diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-01-04 23:10:51 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-02-09 23:43:25 +0100 |
commit | db8f267647a8d6682f132f8d6dc1334daf90fa4e (patch) | |
tree | 3b5ddf03267920040a4eea4846a54563e95b2bb5 /apps/encryption/lib | |
parent | 59ebad0b538ae173f9781cec0f524c8ca407a181 (diff) | |
download | nextcloud-server-db8f267647a8d6682f132f8d6dc1334daf90fa4e.tar.gz nextcloud-server-db8f267647a8d6682f132f8d6dc1334daf90fa4e.zip |
Add note about the addPadding function
Diffstat (limited to 'apps/encryption/lib')
-rw-r--r-- | apps/encryption/lib/crypto/crypt.php | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |