Add note about the addPadding function

This commit is contained in:
Lukas Reschke 2016-01-04 23:10:51 +01:00
parent 59ebad0b53
commit db8f267647
1 changed files with 4 additions and 0 deletions

View File

@ -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
*/