You are here

function crypt_blowfish_clients_drupal_encrypt in Web Service Clients 7

Same name and namespace in other branches
  1. 6.2 connections/clients_drupal/crypt_blowfish/crypt_blowfish.module \crypt_blowfish_clients_drupal_encrypt()
  2. 6 backends/clients_drupal/crypt_blowfish/crypt_blowfish.module \crypt_blowfish_clients_drupal_encrypt()
  3. 7.3 connections/clients_drupal/crypt_blowfish/crypt_blowfish.module \crypt_blowfish_clients_drupal_encrypt()
  4. 7.2 connections/clients_drupal/crypt_blowfish/crypt_blowfish.module \crypt_blowfish_clients_drupal_encrypt()

Implementation of hook_clients_drupal_encrypt()

File

backends/clients_drupal/crypt_blowfish/crypt_blowfish.module, line 85
PEAR Crypt_Blowfish integration

Code

function crypt_blowfish_clients_drupal_encrypt($val) {
  return base64_encode(Drupal_Crypt_Blowfish::encrypt($val));
}