SHA2

Calcula um resumo, soma de verificação ou código de autenticação da entrada com “SHA2”.

Entrada: Texto (UTF-8) / Um arquivoResultado: Texto

Entrada de texto

Execute para ver o resultado

Exemplos

Reproduce the Bitcoin genesis block ID from its 80-byte header — step 1

Demonstrate double SHA-256, hashing decoded bytes rather than hash text, and displayed byte order.

Entrada

af42031e805ff493-genesis-header.bin

80 bytes

Baixar

Expected answer

af42031e805ff493a07341e2f74ff58149d22ab9ba19f61343e2c86c71c5d66d
Tamanho
256
Rodadas
64
Rodadas
160
Hash bitcoin genesis newspaper headline

Compare a digest of these exact bytes. A newline or a different Unicode normalization changes the checksum; legacy hashes are not suitable for new security designs.

Entrada

The Times 03/Jan/2009 Chancellor on brink of second bailout for banks

Expected answer

a6d72baa3db900b03e70df880e503e9164013b4d9a470853edc115776323a098
Tamanho
256
Rodadas
64
Rodadas
160
Hash a registry credential from kubernetes documentation

Compare a digest of these exact bytes. A newline or a different Unicode normalization changes the checksum; legacy hashes are not suitable for new security designs.

Entrada

tiger:pass1234

Expected answer

fe1f3840edb48d1963b07a5b04f83f00974f59b69f772f6c9c2bd88aac916eee
Tamanho
256
Rodadas
64
Rodadas
160
Hash a checksum-sensitive log line with a final newline

Compare a digest of these exact bytes. A newline or a different Unicode normalization changes the checksum; legacy hashes are not suitable for new security designs.

Entrada

event=deploy status=ready

Expected answer

df94d052096ee71cc4419345b2e30243654d10ac9003c622abbd43b1c7bc27d3
Tamanho
256
Rodadas
64
Rodadas
160
Hash a french café in precomposed unicode

Compare a digest of these exact bytes. A newline or a different Unicode normalization changes the checksum; legacy hashes are not suitable for new security designs.

Entrada

café

Expected answer

850f7dc43910ff890f8879c0ed26fe697c93a067ad93a7d50f466a7028a9bf4e
Tamanho
256
Rodadas
64
Rodadas
160
Hash a french café with a separate combining accent

Compare a digest of these exact bytes. A newline or a different Unicode normalization changes the checksum; legacy hashes are not suitable for new security designs.

Entrada

café

Expected answer

81ef060bcd98adc7824eb5c1ada83c32491b16018e11e79f00ab9d09e04b015a
Tamanho
256
Rodadas
64
Rodadas
160
Hash chinese text in a utf-8 request body

Compare a digest of these exact bytes. A newline or a different Unicode normalization changes the checksum; legacy hashes are not suitable for new security designs.

Entrada

你好,世界

Expected answer

46932f1e6ea5216e77f58b1908d72ec9322ed129318c6d4bd4450b5eaab9d7e7
Tamanho
256
Rodadas
64
Rodadas
160
Hash a literal plus and space inside a url parameter

Compare a digest of these exact bytes. A newline or a different Unicode normalization changes the checksum; legacy hashes are not suitable for new security designs.

Entrada

release notes+A/B?

Expected answer

16f7aa833be1220104d7ac509ffee6620ef273a290d920e4551eaa5c02a5e470
Tamanho
256
Rodadas
64
Rodadas
160
SHA2 224

Entrada

Hello, World!

Expected answer

72a23dfa411ba6fde01dbfabf3b00a709c93ebf273dc29e2d8b261ff
Tamanho
224
Rodadas
64
Rodadas
160
SHA2 224: Complex bytes

Entrada

186ffd22c3af83995afa4a03.bin

20 bytes

Baixar

Expected answer

66c166eba2529ecc44a7b7b218a64a8e3892f873c8d231e8e3c1ef3d
Tamanho
224
Rodadas
64
Rodadas
160

Ferramentas relacionadas

Hashes

Referência da operação

Ver a documentação técnica original (English)