summaryrefslogtreecommitdiff
path: root/inc/blowfish.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-12-09 20:11:00 +0100
committerAndreas Gohr <andi@splitbrain.org>2014-12-09 20:11:00 +0100
commit61a4313f55c7e83e0b78c9c6a8eb2efb13ff0512 (patch)
treec7269ea61f5d4230a6f916dbabee4ce412e0a9fb /inc/blowfish.php
parent9a0ca2cfd8ac42895af3be2efbd2cab7e6d33578 (diff)
parent8702de7f7e170bddfdb622c393c3cac3446fd1c5 (diff)
downloadrpg-61a4313f55c7e83e0b78c9c6a8eb2efb13ff0512.tar.gz
rpg-61a4313f55c7e83e0b78c9c6a8eb2efb13ff0512.tar.bz2
Merge pull request #945 from splitbrain/scrutinizerissues
Scrutinizer issues and IXR library updates
Diffstat (limited to 'inc/blowfish.php')
-rw-r--r--inc/blowfish.php15
1 files changed, 8 insertions, 7 deletions
diff --git a/inc/blowfish.php b/inc/blowfish.php
index bcf5804a2..7499515bc 100644
--- a/inc/blowfish.php
+++ b/inc/blowfish.php
@@ -356,7 +356,7 @@ class Horde_Cipher_blowfish
* Encrypt a block on data.
*
* @param String $block The data to encrypt
- * @param optional String $key The key to use
+ * @param String $key optional The key to use
*
* @return String the encrypted output
*/
@@ -404,8 +404,8 @@ class Horde_Cipher_blowfish
/**
* Decrypt a block on data.
*
- * @param String $block The data to decrypt
- * @param optional String $key The key to use
+ * @param String $block The data to decrypt
+ * @param String $key optional The key to use
*
* @return String the decrypted output
*/
@@ -452,6 +452,7 @@ class Horde_Cipher_blowfish
/**
* Converts a text key into an array.
*
+ * @param string $key
* @return array The key.
*/
function _formatKey($key) {
@@ -464,8 +465,8 @@ class Horde_Cipher_blowfish
/**
* Encryption using blowfish algorithm
*
- * @param string original data
- * @param string the secret
+ * @param string $data original data
+ * @param string $secret the secret
*
* @return string the encrypted result
*
@@ -493,8 +494,8 @@ function PMA_blowfish_encrypt($data, $secret) {
/**
* Decryption using blowfish algorithm
*
- * @param string encrypted data
- * @param string the secret
+ * @param string $encdata encrypted data
+ * @param string $secret the secret
*
* @return string original data
*