SHAGenerator
Processed locally in your browser • Zero Server Upload

Hash Length Matrix & Digest Reference.

Interactive lookup matrix of bit lengths, byte sizes, hex lengths, and base64 dimensions for all major hash algorithms.

Hash Length & Digest Specification MatrixNIST & RFC Reference
AlgorithmOutput BitsBytesHex CharsBase64Block SizePrimary Use Case
CRC32 / CRC32C324 B8632-bitZIP, PNG, Cloud Storage
MD512816 B3224512-bitLegacy checksums
RIPEMD-16016020 B4028512-bitBitcoin HASH160, PGP
SHA-116020 B4028512-bitGit object IDs
SHA-22422428 B5640512-bit2-Key 3DES profile
SHA-25625632 B6444512-bitTLS, Bitcoin, Code signing
SHA3-256 / Keccak25632 B64441088-bitEthereum, FIPS 202
SHA-38438448 B96641024-bitNSA CNSA, SRI
SHA-51251264 B128881024-bitHigh-assurance cryptography
SHA3-51251264 B12888576-bitNIST SHA-3 standard

Database Column Sizing Best Practices

MD5 Storage

Hex: CHAR(32) (32 bytes)
Binary: BINARY(16) (16 bytes)

SHA-256 Storage

Hex: CHAR(64) (64 bytes)
Binary: BINARY(32) (32 bytes)

SHA-512 Storage

Hex: CHAR(128) (128 bytes)
Binary: BINARY(64) (64 bytes)

About Hash Length Calculator & Matrix.

Comprehensive reference table comparing output bit lengths, byte sizes, hexadecimal character counts, base64 lengths, block sizes, and collision resistance bounds for 20+ cryptographic and non-cryptographic hashing algorithms.

Primary Use Cases

  • Designing database column lengths (VARCHAR(64) vs BINARY(32)) for hash storage
  • Validating hash length constraints in API validation schemas
  • Choosing appropriate hash functions for storage-constrained environments

Technical Specifications

Standard
Execution Mode
Client-Side (Web Crypto)
Server Upload
None (Zero bytes sent)

Frequently Asked Questions.

Common technical and security queries regarding Hash Length Calculator & Matrix.

Frequently Asked Questions

Clear answers to common cryptographic and implementation questions.

How do you calculate the hex length from bits?
Each hexadecimal character represents 4 bits (a nibble). Therefore, Hex Length = Bit Length / 4.

Related Cryptographic Utilities