E
E
Egor Petrov2015-06-01 14:21:32
PHP
Egor Petrov, 2015-06-01 14:21:32

Is it possible to encrypt a string according to GOST 34.11 in PHP?

Everything that is written in the documentation:

HASH is a function that calculates the hash value of the field value according to the GOST 34.11 cryptographic algorithm and converts it into a string HEX representation. Length of the HEX representation string: 64 characters.

The wiki mentions the mhash library, is it the same mhash: php.net/manual/en/function.mhash.php ? Any of the constants allows you to encrypt according to the guest?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2015-06-01
@BuriK666

MHASH_GOST

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question