mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
20 lines
551 B
Plaintext
20 lines
551 B
Plaintext
|
--TEST--
|
||
|
mcrypt_module_get_algo_block_size
|
||
|
--SKIPIF--
|
||
|
<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
var_dump(mcrypt_module_get_algo_block_size(MCRYPT_RIJNDAEL_256));
|
||
|
var_dump(mcrypt_module_get_algo_block_size(MCRYPT_RIJNDAEL_192));
|
||
|
var_dump(mcrypt_module_get_algo_block_size(MCRYPT_RC2));
|
||
|
var_dump(mcrypt_module_get_algo_block_size(MCRYPT_XTEA));
|
||
|
var_dump(mcrypt_module_get_algo_block_size(MCRYPT_CAST_128));
|
||
|
var_dump(mcrypt_module_get_algo_block_size(MCRYPT_BLOWFISH));
|
||
|
--EXPECT--
|
||
|
int(32)
|
||
|
int(24)
|
||
|
int(8)
|
||
|
int(8)
|
||
|
int(8)
|
||
|
int(8)
|