Display the drop-down list

mcrypt_list_algorithms()

« mcrypt_get_key_size | mcrypt_list_modes »
<?php
$array 
mcrypt_list_algorithms (
    
  // [string $lib_dir = ini_get("mcrypt.algorithms_dir")]
);
?>
Result
$array = [
  
=> 'cast-128',
  
=> 'gost',
  
=> 'rijndael-128',
  
=> 'twofish',
  
=> 'arcfour',
  
=> 'cast-256',
  
=> 'loki97',
  
=> 'rijndael-192',
  
=> 'saferplus',
  
=> 'wake',
  
10 => 'blowfish-compat',
  
11 => 'des',
  
12 => 'rijndael-256',
  
13 => 'serpent',
  
14 => 'xtea',
  
15 => 'blowfish',
  
16 => 'enigma',
  
17 => 'rc2',
  
18 => 'tripledes',
]
Error : Function mcrypt_list_algorithms() is deprecated
Examples
#1 mcrypt_list_algorithms  ()