Adding support for SHA2 hash functions