sha256
Calculates the SHA-256 of a file.
Parameters
name
The path of the file.
Calculates the SHA-256 of a part of a file.
Parameters
name
The path of the file.
offset
The offset, from which the hash is calculated.
length
The number of bytes to take into account.