in reply to best way to encrypt long file names?
You could use something like Crypt::CBC and pump all your filenames through it. This is particularly desirable if you'd like to be able to recover the filenames again later.
use strict; use warnings; my $cbc = Crypt::CBC->new( -header=>"randomiv", -key => 'my secret key +', -cipher => 'Blowfish' ); my $enc = $cbc->encrypt_hex("filename"); # recoverable hex phrase
-Paul
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: best way to encrypt long file names?
by keiusui (Monk) on May 28, 2009 at 02:45 UTC | |
by Anonymous Monk on May 28, 2009 at 02:48 UTC | |
by jettero (Monsignor) on May 28, 2009 at 11:05 UTC |