Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Re-3: Encrypting a Filenameby marcink (Monk) |
on Jun 15, 2001 at 03:47 UTC ( [id://88677]=note: print w/replies, xml ) | Need Help?? |
I'm more concerned with file name limitations of the receiving system. One more suggestion, then: calculate the encrypted file name with some kind of digesting algorithm (with numeric suffix to make it unique), while encrypting the original name together with file contents (by prepending or appending it to the original file)? Pro: you can make the filename generator use very small character set. Cons: 1) file name decoding requires more work (and the encrypted version is not sufficient), 2) finding encrypted file might require proximity searching, -mk
In Section
Seekers of Perl Wisdom
|
|