Hello.
In a project on Laravel 5 the dynamically generated files of different format (PDF, DOCx, etc.) and saved to a folder on the server. Now you want to calculate the hashes of all the stored files and displayed in a plaque along with the names of the files. The hashes need to be calculated according to the algorithm of GOST 34.11-94 and that's the problem. How beautiful to do this in Laravel?
For MD5, SHA, etc. there is a standard solution like:
php.net/manual/en/function.sha1-file.php
string sha1_file ( string $filename [, bool $raw_output = false ] )
And what about the standard?
At your request, of course, googled. But if you are watching the results, it is useful there are very few. - doug commented on July 9th 19 at 11:14
Go sell seeds, just so lazy. - nickolas commented on July 9th 19 at 11:20