sha256 function

I submitted a pull request that is already merged.