Update sha1 lib to version 2.2