Distintas funciones de encriptación

Iniciado por Polsaker, Octubre 22, 2014, 10:20:10 PM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Además de los algoritmos "comunes" (sha1, md5, base64, etc) PHP soporta una grán variedad de otros algoritmos de encriptación (hash). Algunas no serán tan seguras como las antes mencionadas pero pueden ser útiles para algún "desafío"  :P

You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login:
Código: php
hash("md2",$texto);


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login:
Código: php
hash("md4",$texto);


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login:
Código: php
hash("sha224",$texto);


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login:
Código: php
hash("sha256",$texto);


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login:
Código: php
hash("sha384",$texto);


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login:
Código: php
hash("sha512",$texto);


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login:
Código: php
hash("ripemd128",$texto);


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login:
Código: php
hash("ripemd160",$texto);


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login:
Código: php
hash("ripemd256",$texto);


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login:
Código: php
hash("ripemd320",$texto);


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login:
Código: php
hash("whirlpool",$texto);


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login:
Código: php
hash("snefru",$texto);


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login:
Código: php
hash("snefru256",$texto);


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login:
Código: php
hash("gost",$texto);


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login:
Código: php
hash("adler32",$texto);


CRC32
Código: php
hash("crc32",$texto);


CRC32b
Código: php
hash("crc32b",$texto);


Salsa10
Código: php
hash("salsa10",$texto);


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login:
Código: php
hash("salsa20",$texto);


dejando de lado pequeña corrección de las comillas dobles en literales, está útil, no obstante creo que en la documentación de php de la función hash (You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login) está bastante detallado.

un saludo, me alegra verte publicando por aquí, mi spam en el irc de You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login funcionó?