mirror of
https://github.com/php/php-src.git
synced 2026-04-14 03:22:58 +02:00
The state returned by `sodium_crypto_generichash_init()` has to be regarded as opaque byte string; neither its size nor its exact structure are fixed, and actually vary for diffent libsodium versions. Therefore we drop the test altogether.
libsodium-php
A simple, low-level PHP extension for libsodium.
Full documentation here: Using Libsodium in PHP Projects, a guide to using the libsodium PHP extension for modern, secure, and fast cryptography.