Using Dynamic Key
====================================
If specify the $key as ENCRYPT_DYNAMIC_KEY then it will use dynamic key based
on below variables.

// Developer needs to assign any userid to this session variable
$_SESSION['ENCRYPT']['uid']

// Developer needs to assign guid of that user used above to this session
// variable.
$_SESSION['ENCRYPT']['guid']

// If either of the above session variables are not available then fetch info
// from the current user.
global $user
$user->uid
$user->uid

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

SoumyaDas created an issue. See original summary.

SoumyaDas’s picture

Adding patch for this (encrypt-using_dynamic_key-01-01.patch ).

SoumyaDas’s picture

Assigned: SoumyaDas » Unassigned
Status: Active » Needs review
SoumyaDas’s picture

Status: Needs review » Patch (to be ported)
SoumyaDas’s picture

Status: Patch (to be ported) » Closed (outdated)