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

Comments

SoumyaDas created an issue. See original summary.

soumyadas’s picture

StatusFileSize
new3.8 KB

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)