GoLang sodium_memcmp

request it (301)
GoLang replacement for PHP's sodium_memcmp [edit | history]



Do you know a GoLang replacement for PHP's sodium_memcmp? Write it!

PHP sodium_memcmp

PHP original manual for sodium_memcmp [ show | php.net ]

sodium_memcmp

(PHP 7 >= 7.2.0)

sodium_memcmpTest for equality in constant-time

Description

int sodium_memcmp ( string $buf1 , string $buf2 )

Warning

This function is currently not documented; only its argument list is available.

Parameters

buf1

buf2

Return Values