public function getAvailableAlgorithmsAction()
{
$options = [['key' => 'password_hash', 'value' => 'password_hash']];
$algorithms = hash_algos();
foreach ($algorithms as $algorithm) {
$options[] = ["key" => $algorithm, "value" => $algorithm];
}
$result = ["data" => $options, "success" => true, "total" => count($options)];
$this->_helper->json($result);
}