Geting the hash sha-256 of a file for upload perpuses

I’d consider this to be a bug in Sha256 since it only accepts String as input and not raw Bytes.