Cytat
SERWER 1
PHP Version 5.2.17
mcrypt support enabled
Version 2.5.8
Api No 20021217
Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes cbc cfb ctr ecb ncfb nofb ofb stream
Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value
PHP Version 5.2.17
mcrypt support enabled
Version 2.5.8
Api No 20021217
Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes cbc cfb ctr ecb ncfb nofb ofb stream
Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value
<?php class SymmetricCrypt { { $encrypted_string = mcrypt_encrypt( SymmetricCrypt::$msCipherAlgorithm, SymmetricCrypt::$msSecretKey, $plainString, SymmetricCrypt::$msModeAlgorithm, $iv); } { $decrypted_string = mcrypt_decrypt( SymmetricCrypt::$msCipherAlgorithm, SymmetricCrypt::$msSecretKey, $string, SymmetricCrypt::$msModeAlgorithm, $iv); return $decrypted_string; } } //koniec klasy ?>
Cytat
SERWER 2
PHP Version 5.2.16
mcrypt support enabled
Version 2.5.8
Api No 20021217
Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes cbc cfb ctr ecb ncfb nofb ofb stream
Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value
PHP Version 5.2.16
mcrypt support enabled
Version 2.5.8
Api No 20021217
Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes cbc cfb ctr ecb ncfb nofb ofb stream
Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value
<?php class SymmetricCrypt { { $iv = SymmetricCrypt::$msHexaIv; $encrypted_string = mcrypt_encrypt( SymmetricCrypt::$msCipherAlgorithm, SymmetricCrypt::$msSecretKey, $plainString, SymmetricCrypt::$msModeAlgorithm, $iv); } { $iv = SymmetricCrypt::$msHexaIv; $decrypted_string = mcrypt_decrypt( SymmetricCrypt::$msCipherAlgorithm, SymmetricCrypt::$msSecretKey, $string, SymmetricCrypt::$msModeAlgorithm, $iv); return $decrypted_string; } } //koniec klasy ?>
Mógłby ktoś rzucić okiem, gdzie moze tkwic problem?