encrypted_text
Requires Content Construction Kit (CCK), for Drupal 4.7
Defines an encrypted text field types for CCK module-defined content types.
The text appears normally on the web page, but in the database table, it is encrypted. This module is suitable for cases where you are storing private information, and your security requirements are modest.
These encrypted_text fields are encrypted using MySQL's AES_ENCRYPT() function, which
employs the AES (Advanced Encryption Standard) algorithm, with a 128- bit key
length.
To use this module, you must add a parameter to your site's settings.php file
as in
$conf = array(
'encrypted_text_key' => 'my encryption key'
);Change the above key to a random string of characters; the encrypt_text module uses a
maximum of 128 bits from this string. Do not alter this key after you have
added encrypted content, as this content can only be unencrypted using the
same key that was used to encrypt it.
