You are here

function drd_agent_crypt in DRD Agent 7.3

Same name and namespace in other branches
  1. 6.3 drd_agent.module \drd_agent_crypt()

Menu callback to return an array containing supported crypt methods.

Return value

string

Throws

\Exception

1 string reference to 'drd_agent_crypt'
drd_agent_menu in ./drd_agent.module
Implements hook_menu().

File

./drd_agent.module, line 106

Code

function drd_agent_crypt() {
  _drd_get_lib();
  return base64_encode(json_encode(\Drupal\drd\Crypt\Base::getMethods()));
}