Add methods hashSha1 and hashSha1BS

needed by OP_SHA1 in script evaluation

hash functions might need a rename in order to be more consistent