I'm writing a program that copies the contents of one file to another and I need to create a duplicate of those files that I copied and rename them into SHA-1 Hash.
For Example:
The SHA1 hash of the string "test.txt" = 4b6fcb2d521ef0fd442a5301e7932d16cc9f375a
Judge a man by his questions, rather than his answers...
Voltaire
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
Judge a man by his questions, rather than his answers...
Voltaire
Sorry, I didn't mention what I was looking for but right now my program runs as copying a text file to another text file. What I need to do is list the copied files into a manifest.txt and their file name changed to their SHA1 hash code.
Hope this clears things.
I'm still not sure what your question is but if you need help in creating the SHA1 code then just google for "Java code SHA1", there's loads of example code available.
Not really, no. You may know what you're talking about, but it doesn't mean we do. Instead of stating what you need to do, why not ask a specific question about whatever part you are stuck on or don't understand.
If you ask a clear and specific question, someone might be able to give a clear and specific answer.
Programming is an explanatory activity...
R. Harper
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
One can think effectively only when one is willing to endure suspense and to undergo the trouble of searching...
J. Dewey
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
It is better to have an approximate answer to the right question than an exact answer to the wrong one...
J. Tukey
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.