With data which is stored encrypted, you can take the output of a function of the index under which the data is stored (e.g. the MD5 key of the filename).
MCRYPT_TWOFISH (Pour les anciennes versions de mcrypt 2.x versions, ou mcrypt 2.4.x)