diff --git a/reference/mcrypt/functions/mcrypt-decrypt.xml b/reference/mcrypt/functions/mcrypt-decrypt.xml index 351c646d54..a53e8b4195 100644 --- a/reference/mcrypt/functions/mcrypt-decrypt.xml +++ b/reference/mcrypt/functions/mcrypt-decrypt.xml @@ -36,8 +36,8 @@ key - key is the key with which the data is encrypted. - If it's smaller that the required keysize, it is padded with + key is the key with which the data was encrypted. + If it's smaller than the required keysize, it is padded with '\0'. diff --git a/reference/mcrypt/functions/mcrypt-encrypt.xml b/reference/mcrypt/functions/mcrypt-encrypt.xml index 8c8821fd09..31e9119bd7 100644 --- a/reference/mcrypt/functions/mcrypt-encrypt.xml +++ b/reference/mcrypt/functions/mcrypt-encrypt.xml @@ -38,7 +38,7 @@ key - The key with which the data will be encrypted. If it's smaller that + The key with which the data will be encrypted. If it's smaller than the required keysize, it is padded with '\0'. It is better not to use ASCII strings for keys. @@ -57,7 +57,7 @@ '\0'. - The returned crypttext can be larger that the size of the data that is + The returned crypttext can be larger than the size of the data that was given by data.