I would like to batch obfuscate file names (not file content) with a simple symmetric cipher. So that I can rename them back afterwards. For example, using the online blowfish encryption on http://sladex.org/blowfish.js/ with key "hello", ECB cipher mode and output format hex, the files would be renamed as follows
"file001.dat" -> "76d35b129cf450413745c5da58473475"
"file002.dat" -> "74dcf32b30bed1e53745c5da58473475"
"file003.dat" -> "a387a582c6431b423745c5da58473475"
I have no requirement for a strong cipher, only that files can easily be renamed back again.
Can this be done with the command line on Mac?