You are here

Encrypt module in AES encryption 7

API Functions Here's a brief and simple run-through of the functions which might be interesting from a developers point of view. Most (see exceptions below) of the functions are implementation independant, so behaviour should be consistent regardless of which implementation (mcrypt or phpseclib) is used.

Implementation independence exceptions: 1. aes_make_iv is mute when using phpseclib since that implementation handle its own IV internally. 2. The $custom_cipher and $custom_iv arguments to aes_encrypt and aes_decrypt are ignored when using phpseclib, since that implementation doesn't support changing these values. Passing these arguments as anything else than null will generate warnings in the watchdog when using phpseclib.

File

./aes.api.php, line 8
Function and hooks provided by the aes API.

Functions

Namesort descending Location Description
hook_aes_config_change ./aes.api.php hook_aes_config_change() This hook provide ability for developers to reencrypt data in modules when aes configuration changed.