Added code for sha256 hashing