Added sample code for using sha256 hash function