summaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-01-04 23:10:51 +0100
committerLukas Reschke <lukas@owncloud.com>2016-02-09 23:43:25 +0100
commitdb8f267647a8d6682f132f8d6dc1334daf90fa4e (patch)
tree3b5ddf03267920040a4eea4846a54563e95b2bb5 /apps/encryption/lib
parent59ebad0b538ae173f9781cec0f524c8ca407a181 (diff)
downloadnextcloud-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.php4
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
*/