Moved SHA-1 to algo