setBlockLength(256); $cipher->setKey($key); if ($paddingDisabled === true) $cipher->disablePadding(); return $cipher->encrypt($value); } }