You are here

protected static function Drupal_Crypt_Blowfish::blowfish in Web Service Clients 6

Same name and namespace in other branches
  1. 6.2 connections/clients_drupal/crypt_blowfish/crypt_blowfish.inc \Drupal_Crypt_Blowfish::blowfish()
  2. 7.3 connections/clients_drupal/crypt_blowfish/crypt_blowfish.inc \Drupal_Crypt_Blowfish::blowfish()
  3. 7 backends/clients_drupal/crypt_blowfish/crypt_blowfish.inc \Drupal_Crypt_Blowfish::blowfish()
  4. 7.2 connections/clients_drupal/crypt_blowfish/crypt_blowfish.inc \Drupal_Crypt_Blowfish::blowfish()
2 calls to Drupal_Crypt_Blowfish::blowfish()
Drupal_Crypt_Blowfish::decrypt in backends/clients_drupal/crypt_blowfish/crypt_blowfish.inc
Drupal_Crypt_Blowfish::encrypt in backends/clients_drupal/crypt_blowfish/crypt_blowfish.inc

File

backends/clients_drupal/crypt_blowfish/crypt_blowfish.inc, line 34
Wrapper for PEAR Crypt Blowfish

Class

Drupal_Crypt_Blowfish

Code

protected static function blowfish() {
  ini_set('include_path', ini_get('include_path') . ':' . variable_get('crypt_blowfish_cryptdir', ''));
  include_once 'Crypt/Blowfish.php';
  return new Crypt_Blowfish(self::getkey());
}