Lib-Sha1: Use the git implementation with tweaks.