I use the crypt() function to encrypt short strings like passwords and first names. However, the crypt function only outputs about 14 characters (which means that files with similar long names result in the same encrypted file name), and the crypt function sometimes outputs characters that are invalid in a file name (such as a "/").
Does anyone know of a standard way of encrypting file names? Thank you so much for any help you might be able to provide.
In reply to best way to encrypt long file names? by keiusui
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |