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_TWOFISH128 (TWOFISHxxx are available in newer 2.x versions, but not in the 2.4.x versions)