@@ -321,6 +321,7 @@ discard block |
||
| 321 | 321 | * SMTP CODE FAILURE: 451,554 |
| 322 | 322 | * SMTP CODE ERROR : 500,501,503,421 |
| 323 | 323 | * @access public |
| 324 | + * @param string $msg_data |
|
| 324 | 325 | * @return bool |
| 325 | 326 | */ |
| 326 | 327 | public function Data($msg_data) {
|
@@ -488,6 +489,8 @@ discard block |
||
| 488 | 489 | /** |
| 489 | 490 | * Sends a HELO/EHLO command. |
| 490 | 491 | * @access private |
| 492 | + * @param string $hello |
|
| 493 | + * @param string $host |
|
| 491 | 494 | * @return bool |
| 492 | 495 | */ |
| 493 | 496 | private function SendHello($hello, $host) {
|
@@ -528,6 +531,7 @@ discard block |
||
| 528 | 531 | * SMTP CODE SUCCESS: 552,451,452 |
| 529 | 532 | * SMTP CODE SUCCESS: 500,501,421 |
| 530 | 533 | * @access public |
| 534 | + * @param string $from |
|
| 531 | 535 | * @return bool |
| 532 | 536 | */ |
| 533 | 537 | public function Mail($from) {
|
@@ -172,6 +172,7 @@ discard block |
||
| 172 | 172 | * CRYPT_AES_MODE_ECB or CRYPT_AES_MODE_CBC. If not explictly set, CRYPT_AES_MODE_CBC will be used. |
| 173 | 173 | * |
| 174 | 174 | * @param optional Integer $mode |
| 175 | + * @param integer $mode |
|
| 175 | 176 | * @return Crypt_AES |
| 176 | 177 | * @access public |
| 177 | 178 | */ |
@@ -288,6 +289,7 @@ discard block |
||
| 288 | 289 | * @see Crypt_AES::decrypt() |
| 289 | 290 | * @access public |
| 290 | 291 | * @param String $plaintext |
| 292 | + * @return string |
|
| 291 | 293 | */ |
| 292 | 294 | function encrypt($plaintext) |
| 293 | 295 | { |
@@ -465,6 +465,7 @@ discard block |
||
| 465 | 465 | * If not explictly set, CRYPT_BLOWFISH_MODE_CBC will be used. |
| 466 | 466 | * |
| 467 | 467 | * @param optional Integer $mode |
| 468 | + * @param integer $mode |
|
| 468 | 469 | * @access public |
| 469 | 470 | */ |
| 470 | 471 | function Crypt_Blowfish($mode = CRYPT_BLOWFISH_MODE_CBC) |
@@ -959,6 +960,7 @@ discard block |
||
| 959 | 960 | * |
| 960 | 961 | * @see Crypt_Blowfish::_unpad() |
| 961 | 962 | * @access private |
| 963 | + * @param string $text |
|
| 962 | 964 | */ |
| 963 | 965 | function _pad($text) |
| 964 | 966 | { |
@@ -986,6 +988,7 @@ discard block |
||
| 986 | 988 | * |
| 987 | 989 | * @see Crypt_Blowfish::_pad() |
| 988 | 990 | * @access private |
| 991 | + * @param string $text |
|
| 989 | 992 | */ |
| 990 | 993 | function _unpad($text) |
| 991 | 994 | { |
@@ -742,6 +742,7 @@ discard block |
||
| 742 | 742 | * CRYPT_DES_MODE_ECB or CRYPT_DES_MODE_CBC. If not explictly set, CRYPT_DES_MODE_CBC will be used. |
| 743 | 743 | * |
| 744 | 744 | * @param optional Integer $mode |
| 745 | + * @param integer $mode |
|
| 745 | 746 | * @return Crypt_DES |
| 746 | 747 | * @access public |
| 747 | 748 | */ |
@@ -1445,6 +1446,7 @@ discard block |
||
| 1445 | 1446 | * |
| 1446 | 1447 | * @see Crypt_DES::_unpad() |
| 1447 | 1448 | * @access private |
| 1449 | + * @param string $text |
|
| 1448 | 1450 | */ |
| 1449 | 1451 | function _pad($text) |
| 1450 | 1452 | { |
@@ -783,8 +783,7 @@ |
||
| 783 | 783 | * _sha256() adds multiple unsigned 32-bit integers. Since PHP doesn't support unsigned integers and since the |
| 784 | 784 | * possibility of overflow exists, care has to be taken. Math_BigInteger() could be used but this should be faster. |
| 785 | 785 | * |
| 786 | - * @param Integer $... |
|
| 787 | - * @return Integer |
|
| 786 | + * @return double |
|
| 788 | 787 | * @see _sha256() |
| 789 | 788 | * @access private |
| 790 | 789 | */ |
@@ -1456,6 +1456,7 @@ discard block |
||
| 1456 | 1456 | * |
| 1457 | 1457 | * @see Crypt_Rijndael::_unpad() |
| 1458 | 1458 | * @access private |
| 1459 | + * @param string $text |
|
| 1459 | 1460 | */ |
| 1460 | 1461 | function _pad($text) |
| 1461 | 1462 | { |
@@ -1483,6 +1484,7 @@ discard block |
||
| 1483 | 1484 | * |
| 1484 | 1485 | * @see Crypt_Rijndael::_pad() |
| 1485 | 1486 | * @access private |
| 1487 | + * @param string $text |
|
| 1486 | 1488 | */ |
| 1487 | 1489 | function _unpad($text) |
| 1488 | 1490 | { |
@@ -677,7 +677,6 @@ discard block |
||
| 677 | 677 | * |
| 678 | 678 | * @access private |
| 679 | 679 | * @see setPrivateKeyFormat() |
| 680 | - * @param String $RSAPrivateKey |
|
| 681 | 680 | * @return String |
| 682 | 681 | */ |
| 683 | 682 | function _convertPrivateKey($n, $e, $d, $primes, $exponents, $coefficients) |
@@ -830,7 +829,6 @@ discard block |
||
| 830 | 829 | * |
| 831 | 830 | * @access private |
| 832 | 831 | * @see setPublicKeyFormat() |
| 833 | - * @param String $RSAPrivateKey |
|
| 834 | 832 | * @return String |
| 835 | 833 | */ |
| 836 | 834 | function _convertPublicKey($n, $e) |
@@ -1491,7 +1489,6 @@ discard block |
||
| 1491 | 1489 | * |
| 1492 | 1490 | * @see getPublicKey() |
| 1493 | 1491 | * @access public |
| 1494 | - * @param String $key |
|
| 1495 | 1492 | * @param Integer $type optional |
| 1496 | 1493 | */ |
| 1497 | 1494 | function getPublicKey($type = CRYPT_RSA_PUBLIC_FORMAT_PKCS1) |
@@ -1514,7 +1511,6 @@ discard block |
||
| 1514 | 1511 | * |
| 1515 | 1512 | * @see getPublicKey() |
| 1516 | 1513 | * @access public |
| 1517 | - * @param String $key |
|
| 1518 | 1514 | * @param Integer $type optional |
| 1519 | 1515 | */ |
| 1520 | 1516 | function getPrivateKey($type = CRYPT_RSA_PUBLIC_FORMAT_PKCS1) |
@@ -1538,8 +1534,7 @@ discard block |
||
| 1538 | 1534 | * |
| 1539 | 1535 | * @see getPrivateKey() |
| 1540 | 1536 | * @access private |
| 1541 | - * @param String $key |
|
| 1542 | - * @param Integer $type optional |
|
| 1537 | + * @param integer $mode |
|
| 1543 | 1538 | */ |
| 1544 | 1539 | function _getPrivatePublicKey($mode = CRYPT_RSA_PUBLIC_FORMAT_PKCS1) |
| 1545 | 1540 | { |
@@ -1742,7 +1737,6 @@ discard block |
||
| 1742 | 1737 | * of the hash function Hash) and 0. |
| 1743 | 1738 | * |
| 1744 | 1739 | * @access public |
| 1745 | - * @param Integer $format |
|
| 1746 | 1740 | */ |
| 1747 | 1741 | function setSaltLength($sLen) |
| 1748 | 1742 | { |
@@ -1991,7 +1985,6 @@ discard block |
||
| 1991 | 1985 | * |
| 1992 | 1986 | * @access private |
| 1993 | 1987 | * @param String $mgfSeed |
| 1994 | - * @param Integer $mgfLen |
|
| 1995 | 1988 | * @return String |
| 1996 | 1989 | */ |
| 1997 | 1990 | function _mgf1($mgfSeed, $maskLen) |
@@ -2284,7 +2277,7 @@ discard block |
||
| 2284 | 2277 | * @param String $m |
| 2285 | 2278 | * @param String $em |
| 2286 | 2279 | * @param Integer $emBits |
| 2287 | - * @return String |
|
| 2280 | + * @return boolean |
|
| 2288 | 2281 | */ |
| 2289 | 2282 | function _emsa_pss_verify($m, $em, $emBits) |
| 2290 | 2283 | { |
@@ -2356,7 +2349,7 @@ discard block |
||
| 2356 | 2349 | * @access private |
| 2357 | 2350 | * @param String $m |
| 2358 | 2351 | * @param String $s |
| 2359 | - * @return String |
|
| 2352 | + * @return boolean |
|
| 2360 | 2353 | */ |
| 2361 | 2354 | function _rsassa_pss_verify($m, $s) |
| 2362 | 2355 | { |
@@ -2477,7 +2470,8 @@ discard block |
||
| 2477 | 2470 | * |
| 2478 | 2471 | * @access private |
| 2479 | 2472 | * @param String $m |
| 2480 | - * @return String |
|
| 2473 | + * @param string $s |
|
| 2474 | + * @return boolean |
|
| 2481 | 2475 | */ |
| 2482 | 2476 | function _rsassa_pkcs1_v1_5_verify($m, $s) |
| 2483 | 2477 | { |
@@ -2610,7 +2604,6 @@ discard block |
||
| 2610 | 2604 | * |
| 2611 | 2605 | * @see encrypt() |
| 2612 | 2606 | * @access public |
| 2613 | - * @param String $plaintext |
|
| 2614 | 2607 | * @return String |
| 2615 | 2608 | */ |
| 2616 | 2609 | function decrypt($ciphertext) |
@@ -98,6 +98,7 @@ discard block |
||
| 98 | 98 | * CRYPT_DES_MODE_ECB or CRYPT_DES_MODE_CBC. If not explictly set, CRYPT_DES_MODE_CBC will be used. |
| 99 | 99 | * |
| 100 | 100 | * @param optional Integer $mode |
| 101 | + * @param integer $mode |
|
| 101 | 102 | * @return Crypt_TripleDES |
| 102 | 103 | * @access public |
| 103 | 104 | */ |
@@ -318,6 +319,7 @@ discard block |
||
| 318 | 319 | * |
| 319 | 320 | * @access public |
| 320 | 321 | * @param String $plaintext |
| 322 | + * @return string |
|
| 321 | 323 | */ |
| 322 | 324 | function encrypt($plaintext) |
| 323 | 325 | { |
@@ -563,6 +563,7 @@ discard block |
||
| 563 | 563 | * If not explictly set, CRYPT_TWOFISH_MODE_CBC will be used. |
| 564 | 564 | * |
| 565 | 565 | * @param optional Integer $mode |
| 566 | + * @param integer $mode |
|
| 566 | 567 | * @access public |
| 567 | 568 | */ |
| 568 | 569 | function Crypt_Twofish($mode = CRYPT_TWOFISH_MODE_CBC) |
@@ -1072,6 +1073,7 @@ discard block |
||
| 1072 | 1073 | * |
| 1073 | 1074 | * @see Crypt_Twofish::_unpad() |
| 1074 | 1075 | * @access private |
| 1076 | + * @param string $text |
|
| 1075 | 1077 | */ |
| 1076 | 1078 | function _pad($text) |
| 1077 | 1079 | { |
@@ -1099,6 +1101,7 @@ discard block |
||
| 1099 | 1101 | * |
| 1100 | 1102 | * @see Crypt_Twofish::_pad() |
| 1101 | 1103 | * @access private |
| 1104 | + * @param string $text |
|
| 1102 | 1105 | */ |
| 1103 | 1106 | function _unpad($text) |
| 1104 | 1107 | { |