SHA1 Hash fuction - JAVA