Link Search Menu Expand Document

Constructor: fileHash

Back to constructors index

SHA256 Hash of an uploaded file, to be checked for validity after download

Attributes:

NameTypeRequiredDescription
offsetlongYesOffset from where to start computing SHA-256 hash
limitintYesLength
hashbytesYesSHA-256 Hash of file chunk, to be checked for validity after download

Type: FileHash

Example:

$fileHash = ['_' => 'fileHash', 'offset' => long, 'limit' => int, 'hash' => 'bytes'];