in reply to Re: best way to encrypt long file names?
in thread best way to encrypt long file names?

Thank you so much for telling me about Crypt::CBC. It looks like this module would work great for encrypting strings, files and other data.

However, the resulting encrypted strings are something like "Salted__8u,ZrXf69 B#". This would be fine if I was working with data, but this is not good for filenames.

Thanks again for your help. I'm sure Crypt::CBC will come in handy in the near future.

  • Comment on Re^2: best way to encrypt long file names?

Replies are listed 'Best First'.
Re^3: best way to encrypt long file names?
by Anonymous Monk on May 28, 2009 at 02:48 UTC
    Why is it "not good?" Looks like you're not using encrypt_hex.
Re^3: best way to encrypt long file names?
by jettero (Monsignor) on May 28, 2009 at 11:05 UTC
    Hence the reason my example uses encrypt_hex() ... There are many other ways to move from the binary bits to something suitable to your filesystem, but encrypt_hex is built in and easy...

    -Paul