in reply to Creating custom hash of file
So people can check any code they give it would be good to have a standard test file. That is pretty easy to generate as part of your sample code by adding:
open outFile, ">", "test.txt"; print outFile ' ' x 65536; close outFile;
then change your open to open the test file.
You should also provide the correct calculated value so we know when the calculation is correct.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Creating custom hash of file
by 2ge (Scribe) on Mar 18, 2007 at 11:10 UTC |