# Sha2 hash generator

## World's simplest hash tool

Free online random SHA2 generator. Just press a button and you'll get random valid SHA2 message digests. There are no ads, popups or nonsense, just an awesome SHA2 checksum generator. Press a button – get SHA2 hashes. Created by cryptogeeks from team Browserling.

announcement
a new project!

Super exciting news! We just launched MATHURLS – a fun math news reader. Check it out!

*fullscreen*

*fullscreen_exit*

A link to this tool, including input, options and all chained tools.

Can't convert.

Sha2 hash generator tool
What is a sha2 hash generator?

This tool generates random SHA2 message digests in your browser. The SHA2 hash function is actually the name for a family of four hash functions – SHA2-224, SHA2-256, SHA2-384, SHA2-512. These functions strengthen the original SHA-1 hash function that was released in 1995 by the NIST. The SHA2 hashes were published in 2001 by the NSA and they are built from a one-way compression function, by using the collision-resistant Merkle–Damgard construction and the Davies–Meyer single-block-length compression structure. The number at the end of SHA prefix indicates the size of the hash digest. For SHA224 it's 224 bits (28 bytes), for SHA256 it's 256 bits (32 bytes), for SHA384 it's 384 bits (48 bytes), and for SHA512 it's 512 bits (64 bytes). Instead of printing that many bits, the hash is usually printed as a hexadecimal string. For example, SHA2-224 is printed as 56 hexadecimal digits. If you need to generate checksums that match a certain pattern (such as require that SHA2 begins with ten zeros), then you can enter a glob-like pattern in the options. If you need SHA2 in some other base than hexadecimal, then we also support custom SHA2 bases, such as binary, octal, and decimal. If that's not enough, you can also choose the custom-base option and enter any base you like up to base 36. Hashabulous!

Sha2 hash generator examples
Click to use

Seven Random SHA2 Hashes

This example generates seven random SHA2 (original SHA-224) cryptographic hashes. Each digest is 224 bits in size and when represented in hex encoding, it's 56 characters long.

df66be6114b3daf9042b3807e7ddab190d51e010d10582145cb2951e
8f1427d098d9e1faf2d6e35617f7d623e8c72bb26f4007bec365ac70
c0216cd85ce7acb799f22f6e7a46a29c67333a106e6cd4e628633f0e
e4be92f9798385b18e34ca20a330da5f1de2e27c5546cfe3ca1cbf14
64ed2edc6602ad9ad7f29916ab6328a8ac24c8ba428b3f8c5847e527
2712526155f77a3a08c7a89fc6c58c497359a75b27b25706d33abda0
d8117afedc401e116f516d33d198f1055618ed9ca695ff6d61da4357

**Required options**

How many SHA2 digests
to generate?

SHA2 hash pattern.
(Works only with hex base.)

SHA2-256 That Start with Zeros

In this example, we require that the generated SHA-256 digest messages match a glob pattern that that starts with eight zeros and ends with a nine. As SHA-256 is 256 bits long, then the size of each hash is 64 hexadecimal digits.

00000000dff538fac5a1f94403d2a4ba73e832b26705c5d2bf946ea9
00000000c47cf1231bc2cfa5f1630172247f4573be1cb7ba660207c9
0000000019c4fc566c02d55b8f28da2d9fac230b1029e085e096a0c9
000000009c7f56a1895a234efd2ed19d087142ca57abdc6538607359
0000000042d69beb99f7695ad1b4774028c147f8be83099eb02d0959
0000000061590a5e4c1322ef7c15ae32fc189d7279d3d94b09a01d69
00000000b3796d31b7d792ff254118172023adde587e3575fd4228b9
000000003b55dc2f2f63ef15aefb3ed6a4f403828919cb040273f8a9

**Required options**

How many SHA2 digests
to generate?

SHA2 hash pattern.
(Works only with hex base.)

Base-32 SHA2-384 Hashes

In this example, we calculate four random SHA-384 hash codes in base-32. The number 384 indicates that these hashes are 384 bits long (or 96 nibbles long, or 48 bytes long, or 24 words long). To represent 384 bits in base-32, we need 384/log2(32) symbols, which is 76.8. As we can't print partial symbols, we round it up to 77 and get that each SHA-384 code has the length of 77 characters in base-32. Also for a change, we convert all base-32 symbols to upper case.

duc3dsn4pud196ljkc13b9g9vq3o3c0m4htiah94nehs1ilik29ecnhajp8c0shc0ilhu75g4bbm8
a9ho72q4q2aj4m27vp0fe3u7tt51r7i5akrn5rf78f5trckf70m9oha7q79p5u97j4p29ghvg6pdu
6bh0129u7sp8fqv4iimu8vl51e3f71g6nbenpis4eed5blang31klglt957pdq0jkg00v80gi41d8
bcti3g2beqlptfkikra6actvck4mmmi4tv21cctp49erdo1mot643te17k8eutd0irmapdjfbko5u

**Required options**

How many SHA2 digests
to generate?

SHA2 hash pattern.
(Works only with hex base.)

Enter your SHA2 radix here (2-36).

SHA2-512 As Decimal Numbers

This example calculates three random SHA-512 hash values. SHA512 is as high as SHA2 algorithm can go with 512 bits in the output hash value. When printed in decimal form, each hash takes 155 digits.

09248679869673683793090679627851139199627766151130003295047980781320979626756853141785673118450513705471714240498483256116070591231397780667350962324191148
09367765062894749570239360078996695804646803298509640885370260421190943397080203423501119420903091085020136092899204587123845777958951994039654174581586735
01357214890429808143105525213308293047266007951898586605561468212861151939730441039615420191093531757754763148187964486311846269057717320235291872044463304

**Required options**

How many SHA2 digests
to generate?

SHA2 hash pattern.
(Works only with hex base.)

Pro tips
Master online hash tools

You can pass options to this tool using their codes as query arguments and it will automatically compute output. To get the code of an option, just hover over its icon. Here's how to type it in your browser's address bar. Click to try!

https://onlinehashtools.com/generate-random-sha2-hash?&count=7&size=224&format=%2A&hex-base=true&lowercase=true

All hash tools

Quickly calculate cryptographic MD5 checksums.

Quickly generate random valid MD5 message digests.

Quickly generate random valid MD4 hash digests.

Quickly generate random valid SHA1 hash values.

Quickly generate random valid SHA2 hash codes.

Quickly generate random valid SHA224 hash digests.

Quickly generate random valid SHA256 checksums.

Quickly generate random valid SHA384 fingerprints.

Quickly generate random valid SHA512 digests.

Coming soon
These hash tools are on the way

Calculate MD2 Hash

Calculate MD2 hash function of strings, files and images.

Calculate MD4 Hash

Calculate MD4 hash value of strings, files and images.

Calculate MD6 Hash

Calculate MD6 digest of strings, files and images.

Calculate SHA0 Hash

Calculate SHA0 message digest of text, files and images.

Create Random SHA0 Hashes

Generate random valid SHA0 checksums.

Calculate SHA1 Hash

Calculate SHA1 hash function of strings, files and images.

Calculate SHA2 Hash

Find the SHA2 checksum of the given input data.

Calculate SHA3 Hash

Compute the SHA3 digest of binary or text data.

Calculate CRC16 Hash

Calculate CRC16 checksum of the input data.

Calculate CRC32 Hash

Calculate CRC32 checksum of the input data.

Calculate NTLM Hash

Calculate NT LAN Manager password hash.

Create Random NTLM Hashes

Generate random valid NTLM hash values.

Calculate MySQL Hash

Calculate the hash of a MySQL database password.

Create Random MySQL Hashes

Generate random valid MySQL password hashes.

Calculate MariaDB Hash

Calculate the hash of a MariaDB database password.

Create Random MariaDB Hashes

Generate random valid MariaDB password hashes.

Calculate Postgres Hash

Calculate the hash of a PostgreSQL database password.

Create Random Postgres Hashes

Generate random valid PostgreSQL password hashes.

Calculate BLAKE Hash

Calculate BLAKE checksum of text, files and images.

Create Random BLAKE Hashes

Generate random valid BLAKE hash values.

Calculate BLAKE2 Hash

Calculate BLAKE2 hash code of text, files and images.

Create Random BLAKE2 Hashes

Generate random valid BLAKE2 message digests.

Calculate Keccak Hash

Calculate Keccak hash value of text, files and images.

Create Random Keccak Hashes

Generate random valid Keccak checksums.

Calculate SHAKE Hash

Calculate SHAKE digest of text, files and images.

Create Random SHAKE Hashes

Generate random valid SHAKE fingerprints.

Calculate Adler32 Hash

Calculate Adler32 checksum of the given data.

Create Random Adler32 Hashes

Generate random valid Adler32 hash values.

Generate Random Hex Values

Create a random hex string of any length.

Subscribe!
Never miss an update

Cool!

Notifications
We'll let you know when we add this tool

Cool!