Backporting 1.5's UnsaltedSHA1Hasher

Required for porting Davis
Fixing UnsaltedSHA1