posted 7 years ago
I'm writing a simple java application that allows one to register a username and password. The username will be stored to a simple .txt file in clear text and the password is to be hashed using SHA1 and stored next to the username in the file. This is for demonstration purposes only, not for a program in use. Any ideas on where I can find how to hash a string using SHA1 with Java?