I have an encryption function that encrypts strings to use as file names.
Problem is that a lot of the encrypted strings contain characters that arn’t allowed in a filename in windows like / or \ …
Is there some way I can encrypt the filenames (or atleast make them not directly readable by the user until they are decrypted by the program)?
Thanks
Assuming the file name has no value (if it does, I would add that data as file content), I would just use Path.GetRandomFileName and pass that around.