Ok...for anyone who read the first posting of this, the fr20.dll referred to Forms2.0 and I've read of that dll being a problem as it leaves your app open to hackers so I have removed the Forms2.0 controls.
If anyone would, they can test this little thing for me and if not...c'est la vie....if you do test it, please read the read me first.
ReadMeFirst.txt...gif of screen...exe application.
Thanks,
Wayne.
Last edited by HeSaidJoe; Jun 26th, 2001 at 07:02 PM.
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
I would be interested in finding info on the security risk posed by forms2.0 dll, have you got a url Wayne?
I tried encrypting/unencrypting a single file. It works although it didn't do wav files (BTW, I tested Megatron's code and it works on wav files on my machine)
I think you need to look at the encrypt/decrypt for the whole folder though.
I noticed you didn't require a key to be entered to encrypt the file so the encryption is performed by your app internally. If a cracker/govenment gets their hands on your app and disassembles your app, your algorithm will be exposed at least for asm coders.
So a more secure way of encrypting would use an algorithm using key(s) to encrypt/decrypt the files, where even knowing the algorithm wouldn't reveal how to decrypt the file (you can adapt Megatron's example to be this secure).
Also it would be cool if when a file is encrypted, the extension changed to add _enc to the end, so that users would know when a file is encrypted.
Good idea Wayne, and very useful if you are developing any sort of file management system.
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen