Implementation of SHA1 in Java.