functions-online

sha1

en
de
es
fr
pt
zh

description

Calculates the sha1 hash of $str using the « US Secure Hash Algorithm 1 ».

Berechnet den SHA1 Hash von $str unter Verwendung des « US Secure Hash Algorithmus 1 » und gibt den Hashwert zurück. Der Hash ist ein 40 Zeichen langer Hexadezimalwert. Ist der optionale Parameter $raw_output TRUE, wird der SHA1-Extrakt im Raw-Binary-Format mit einer Länge von 20 Zeichen zurückgegeben.

Calcula el resumen criptográfico sha1 de cadena usando el « Algoritmo de Hash Seguro US 1 ».

Calcule le sha1 de la chaîne de caractères $str en utilisant « US Secure Hash Algorithm 1 ».

Calcula a hash sha1 de $str usando « US Secure Hash Algorithm 1 », e retorna esta hash. A hash é um número hexadecimal de 40 caracteres. Se o parâmetro opcional $raw_output for TRUE, então o resultado é retornado em um formato binário com o tamanho de 20.

利用 « 美国安全散列算法 1 » 计算字符串的 sha1 散列值。

declaration of sha1

string sha1 ( string $str )

test sha1 online




comments for sha1

On 28. Jun 2012 04:08 bugefun wrote:

I agree with cbix. You should be able to find the hash of hex.

On 29. Dec 2011 13:48 cbix wrote:

Entity decoding would be nice so i could generate hash for series of bytes, e.g.    

On 29. Nov 2010 00:20 Lazikas wrote:

Great tool, thnx !!!

more comments for sha1

There are some more comments for sha1(). To see them all click here.

+

Leave your comment