PHP 8.4.6 Released!

sodium_bin2hex

(PHP 7 >= 7.2.0, PHP 8)

sodium_bin2hexCodificar en hexadecimal

Descripción

sodium_bin2hex(#[\SensitiveParameter] string $string): string

Convierte una cadena binaria bruta en una cadena codificada en hexadecimal. A diferencia de la función de codificación hexadecimal estándar, sodium_bin2hex() es de tiempo constante (una propiedad importante para cualquier código que manipule entradas criptográficas, como textos sin formato o claves).

Parámetros

string

Una cadena binaria bruta.

Valores devueltos

Una cadena codificada en hexadecimal.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant