]>
jfr.im git - uguu.git/blob - static/php/classes/UploadedFile.class.php
5 /* Public attributes */
15 * @var string 40 digit hexadecimal hash (160 bits)
20 * Generates the SHA-1 or returns the cached SHA-1 hash for the file.
22 * @return string|false $sha1
24 public function getSha1()
27 $this->sha1
= sha1_file($this->tempfile
);