Hello,
Suppose I have built a setup for my program in FinalBuilder with the following file name:
myprogram-1.0-setup.exe
Now I would like to embed this setup into password protected RAR archive and modify the resulting RAR file name to contain a random (hash?) value in itself.
myprogram-1.0-setup-randomhashvalue.rar
where randomhashvalue would be different in every build, so that every build produces a RAR archive with a different file name. This is needed because I want to put this file on our web server - it has directory listing already disabled and I want this file name to be hard to guess for anyone out there (unauthorized access). I know how to create a password protected RAR archive and rename it in FinalBuilder. I just don't know how to generate a random has value and random password for the RAR archive in FinalBuilder. So I have the following 2 questions:
- Regarding the random hash value used for the file name, I thought about using something like MD5 and calculate the hash value against the setup executable itself. This will give me 16 bytes long hash value that I can embed into the file name. Is there a way I can do that from within FinalBuider? Or is there a better way to do that?
- I have absolutely no clue how to generate a random (but strong) password for the RAR archive. Does anyone know if it is possible to do that in FinalBuilder as well?
Thank you in advance!