How to sign a file according to GOST 34.11-94 in Laravel?

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:
string sha1_file ( string $filename [, bool $raw_output = false ] )
And what about the standard?
July 9th 19 at 11:07
2 answers
July 9th 19 at 11:09
Use openssl. Everything is there, however offer you the latest version:
July 9th 19 at 11:11
To write an implementation of a hash function and use it.
What answer do you expect? For you to Google "php GOST 34.11-94"?
Waiting for a response from GOTV solution, because the GOST is quite popular and I don't think that every time I write my own implementation...
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
: the GOST canceled in 2013 year, the popular pancake. - Allene_Crona78 commented on July 9th 19 at 11:17
: rly? I have 2 min found out that in php there is a ready implementation of this function + found a bunch of third party implementations.
Go sell seeds, just so lazy. - nickolas commented on July 9th 19 at 11:20
Working 12 years in the state structures and believe me, at the abolition of the few who responded. Still everywhere that is 34.11-94, not 34.11-2012 (which I also know). - doug commented on July 9th 19 at 11:23
: Let's be a little educated. Rude I am. About ready php implementation of gost-crypto know. - doug commented on July 9th 19 at 11:26

Find more questions by tags PHPHashing