You are here

function aes_update_6100 in AES encryption 6

File

./aes.install, line 76

Code

function aes_update_6100(&$sandbox = NULL) {
  $aes_implementations = aes_get_available_aes_implementations();
  if ($aes_implementations['mcrypt']) {
    variable_set("aes_implementation", "mcrypt");
  }
  else {
    if ($aes_implementations['phpseclib']) {
      variable_set("aes_implementation", "phpseclib");
    }
    else {
      variable_set("aes_implementation", "missing");
    }
  }
  return array();
}