SHA2

Calcule un condensé, une somme de contrôle ou un code d'authentification à partir de l'entrée avec “SHA2”.

Entrée: Texte (UTF-8) / Un fichierRésultat: Texte

Saisie de texte

Exécuter pour voir le résultat

Exemples

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.

Entrée

af42031e805ff493-genesis-header.bin

80 bytes

Télécharger

Expected answer

af42031e805ff493a07341e2f74ff58149d22ab9ba19f61343e2c86c71c5d66d
Taille
256
Tours
64
Tours
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.

Entrée

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

Expected answer

a6d72baa3db900b03e70df880e503e9164013b4d9a470853edc115776323a098
Taille
256
Tours
64
Tours
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.

Entrée

tiger:pass1234

Expected answer

fe1f3840edb48d1963b07a5b04f83f00974f59b69f772f6c9c2bd88aac916eee
Taille
256
Tours
64
Tours
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.

Entrée

event=deploy status=ready

Expected answer

df94d052096ee71cc4419345b2e30243654d10ac9003c622abbd43b1c7bc27d3
Taille
256
Tours
64
Tours
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.

Entrée

café

Expected answer

850f7dc43910ff890f8879c0ed26fe697c93a067ad93a7d50f466a7028a9bf4e
Taille
256
Tours
64
Tours
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.

Entrée

café

Expected answer

81ef060bcd98adc7824eb5c1ada83c32491b16018e11e79f00ab9d09e04b015a
Taille
256
Tours
64
Tours
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.

Entrée

你好,世界

Expected answer

46932f1e6ea5216e77f58b1908d72ec9322ed129318c6d4bd4450b5eaab9d7e7
Taille
256
Tours
64
Tours
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.

Entrée

release notes+A/B?

Expected answer

16f7aa833be1220104d7ac509ffee6620ef273a290d920e4551eaa5c02a5e470
Taille
256
Tours
64
Tours
160
SHA2 224

Entrée

Hello, World!

Expected answer

72a23dfa411ba6fde01dbfabf3b00a709c93ebf273dc29e2d8b261ff
Taille
224
Tours
64
Tours
160
SHA2 224: Complex bytes

Entrée

186ffd22c3af83995afa4a03.bin

20 bytes

Télécharger

Expected answer

66c166eba2529ecc44a7b7b218a64a8e3892f873c8d231e8e3c1ef3d
Taille
224
Tours
64
Tours
160

Outils associés

Hachage

Référence de l’opération

Voir la documentation technique originale (English)