summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 35a367e)
raw | patch | inline | side by side (parent: 35a367e)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Dec 2007 12:40:17 +0000 (12:40 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Dec 2007 12:40:17 +0000 (12:40 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8043 594d385d-05f5-0310-b6e9-bd551577e9d8
contrib/socket_server/server.php | patch | blob | history | |
include/class_socketClient.inc | patch | blob | history |
index 8f6473ec5562e2d1f788854770a8a5767994a29b..8bf4265f18767632bc067d08ac1ba2ff5bfeddc1 100755 (executable)
/* Open the cipher */
-$td = mcrypt_module_open('rijndael-256', '', 'cbc', '');
+$td = mcrypt_module_open('rijndael-128', '', 'cbc', '');
/* Create the IV and determine the keysize length */
$iv = substr(md5('GONICUS GmbH'),0, mcrypt_enc_get_iv_size($td));
$ks = mcrypt_enc_get_key_size($td);
+echo "IV-Size: ".mcrypt_enc_get_iv_size($td)."\n";
/* Create key */
$key = substr(md5('ferdinand_frost'), 0, $ks);
index ec8ff5a7a299e2c3626e6200df06a9e7b86bafe4..2df0b43280cc9afbed9c051ab2e2242056363034 100755 (executable)
$this->b_data_send = TRUE;
/* Open the cipher */
- $this->td = mcrypt_module_open('rijndael-256', '', 'cbc', '');
+ $this->td = mcrypt_module_open('rijndael-128', '', 'cbc', '');
/* Create the IV and determine the keysize length */
$this->iv = substr(md5('GONICUS GmbH'),0, mcrypt_enc_get_iv_size($this->td));