How to encrypt with MCRYPT_ARCFOUR in WAMP?
问题 I'm trying to use ARCFOUR algorithm in my PHP code: $td = mcrypt_module_open(MCRYPT_ARCFOUR, '', MCRYPT_MODE_CBC, ''); $iv = mcrypt_create_iv (mcrypt_enc_get_iv_size($td), MCRYPT_RAND); mcrypt_generic_init($td, $key, $iv); $output = mcrypt_generic($td, $input); mcrypt_generic_deinit($td); mcrypt_module_close($td); and the problem is that the first line returns warning: mcrypt_module_open(): Could not open encryption module My settings: From php_info() output: command configure: ... "--with