Updated SHA1 hash reference

crypto-pubkey-types must have changed their API as this no longer compiles. Fixed reference to hashSHA1.