I'm trying to encrypt a file as well as its filename. Encrypting the file is fairly easy, I use gpg for that, but I can't figure out how to encrypt the filename as well. Would be great if the filename could be encrypted using the same key.
Any idea on how to do this?
gpg
isn't an option for this as even short messages (e.g. filenames) will end up in quite long encrypted text that will be longer then 255 bytes (max filename length) for any useful key length.