cvs: /php3/functions mcrypt.c
| From: | Egon Schmid | Date: | Sun, 19 Mar 2000 19:55:42 +0000 |
| Subject: | cvs: /php3/functions mcrypt.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17032@lists.php.net to get a copy of this message | ||
eschmid Sun Mar 19 11:55:42 2000 EDT
Modified files:
/php3/functions mcrypt.c
Log:
Mcrypt_[cipher-mode] functions returns strings.
Index: php3/functions/mcrypt.c
diff -u php3/functions/mcrypt.c:1.17 php3/functions/mcrypt.c:1.18
--- php3/functions/mcrypt.c:1.17 Sun Mar 19 10:15:41 2000
+++ php3/functions/mcrypt.c Sun Mar 19 11:55:42 2000
@@ -283,7 +283,7 @@
}
/* }}} */
-/* {{{ proto int mcrypt_ofb(int cipher, string key, string data, int mode, string iv)
+/* {{{ proto string mcrypt_ofb(int cipher, string key, string data, int mode, string iv)
OFB crypt/decrypt data using key key with cipher cipher starting with IV */
PHP_FUNCTION(mcrypt_ofb)
{
@@ -305,7 +305,7 @@
}
/* }}} */
-/* {{{ proto int mcrypt_cfb(int cipher, string key, string data, int mode, string iv)
+/* {{{ proto string mcrypt_cfb(int cipher, string key, string data, int mode, string iv)
CFB crypt/decrypt data using key key with cipher cipher starting with IV */
PHP_FUNCTION(mcrypt_cfb)
{
@@ -327,7 +327,7 @@
}
/* }}} */
-/* {{{ proto int mcrypt_cbc(int cipher, string key, string data, int mode [, string iv])
+/* {{{ proto string mcrypt_cbc(int cipher, string key, string data, int mode [, string iv])
CBC crypt/decrypt data using key key with cipher cipher using optional IV */
PHP_FUNCTION(mcrypt_cbc)
{
@@ -358,7 +358,7 @@
}
/* }}} */
-/* {{{ proto int mcrypt_ecb(int cipher, string key, string data, int mode)
+/* {{{ proto string mcrypt_ecb(int cipher, string key, string data, int mode)
ECB crypt/decrypt data using key key with cipher cipher */
PHP_FUNCTION(mcrypt_ecb)
{