--TEST-- Test mcrypt_cbc() function : basic functionality --SKIPIF-- --FILE-- ===DONE=== --EXPECTF-- *** Testing mcrypt_ecb() : basic functionality *** --- testing different key lengths key length=8 string(32) "736563726574206d6573736167650000" key length=20 string(32) "736563726574206d6573736167650000" key length=24 string(32) "736563726574206d6573736167650000" key length=26 Warning: mcrypt_ecb(): Size of key is too large for this algorithm in %s on line %d string(32) "736563726574206d6573736167650000" --- testing different iv lengths iv length=4 string(32) "736563726574206d6573736167650000" iv length=8 string(32) "736563726574206d6573736167650000" iv length=9 string(32) "736563726574206d6573736167650000" ===DONE===