Minor fix to SHA-256 hash function.