in reply to best way to encrypt long file names?

That's a rather... unusual... thing to be trying to do, so, no, I doubt that there's any widely-used standard approach. What do you intend to accomplish by doing this?

A few points, though: