🔐Cryptography & Encoders Master Reference

Cryptography, Hash Functions & Encoding Reference Sheet

A security engineer reference manual covering cryptographic hash digest lengths, collision vulnerability statuses, data encoding multipliers (Hex, Base32, Base58, Base64), and modern browser Web Crypto implementations.

📅 Last Reviewed: 2026-11-07•📊 4 Reference Tables•📐 2 Core Formulas•Browse all Cryptography Tools →

📐Core Mathematical & Algorithmic Formulas

Essential reference equations governing calculations in this domain.

Base64 Size Overhead Formula

\text{Base64 Size (Bytes)} = 4 \times \left\lceil \frac{\text{Raw Bytes}}{3} \right\rceil \approx 1.333 \times \text{Raw Bytes} \ (+33.3\%)

Every 3 binary bytes are mapped to 4 ASCII characters (6 bits per character), adding 33% payload overhead.

Password Shannon Entropy Formula

E = L \times \log_2(R)

Measures password brute-force resistance in bits where L is string length and R is pool character space size.

Cryptographic Hash Functions Comparison

Digest length, collision vulnerability status, and approved modern use cases.

AlgorithmDigest BitsHex Char LengthCollision StatusPrimary Modern Use Case
MD5128 bits32 hex charactersBroken (Collisions trivial)Non-cryptographic checksums only. Avoid for security.
SHA-1160 bits40 hex charactersBroken (SHAttered collision)Legacy Git commit hashes. Deprecated for certificates.
SHA-256 (SHA-2)256 bits64 hex charactersSecure (Industry standard)Bitcoin proof-of-work, TLS/SSL certificates, HMAC
SHA-384 (SHA-2)384 bits96 hex charactersSecure (High assurance)Government top secret suite, NSA Suite B
SHA-512 (SHA-2)512 bits128 hex charactersSecure (Maximum strength)Password hashing salts, modern secure tokens
SHA3-256 (Keccak)256 bits64 hex charactersSecure (Sponge construction)Ethereum hashing, post-quantum backup standard
BLAKE3256 bits64 hex charactersSecure (Ultra-fast Merkle tree)High-throughput modern file hashing (Faster than SHA-256)
7 reference recordsCitation: Cryptography, Hash Functions & Encoding Reference Sheet • VeriToolkit

Common Encoding Standards & Storage Overhead

Bits per character, alphabet character set, and transmission size overhead.

Encoding SchemeAlphabet SizeBits / CharSize OverheadPrimary Application
Base16 (Hexadecimal)16 chars (0-9, a-f)4 bits / char+100% (2x original)Cryptographic hash digests, color codes, memory dumps
Base3232 chars (A-Z, 2-7)5 bits / char+60% overheadTOTP two-factor authentication secret keys (Google Authenticator)
Base5858 chars (No 0,O,I,l)5.85 bits / char+37% overheadBitcoin & cryptocurrency wallet addresses (Prevents visual ambiguity)
Base6464 chars (A-Z, a-z, 0-9, +, /)6 bits / char+33.3% overheadEmail MIME attachments, inline data URIs, basic auth headers
Base64URL64 chars (-, _ instead of +, /)6 bits / char+33.3% overheadJSON Web Tokens (JWT), URL-safe session identifiers
5 reference recordsCitation: Cryptography, Hash Functions & Encoding Reference Sheet • VeriToolkit

Modern Encryption Standards Comparison

Symmetric block/stream ciphers vs asymmetric public-key cryptosystems.

AlgorithmTypeStandard Key LengthSecurity LevelPrimary Application
AES-GCMSymmetric (Authenticated)128 or 256 bitsQuantum-resistant (256-bit)TLS 1.3 payload encryption, secure database fields
ChaCha20-Poly1305Symmetric (Stream + Auth)256 bitsHigh (Fast on mobile/ARM)WireGuard VPN, mobile TLS where AES hardware acceleration lacks
RSAAsymmetric (Factorization)2048 to 4096 bitsLegacy standardLegacy digital signatures, legacy HTTPS key exchange
ECDSA (P-256)Asymmetric (Elliptic Curve)256 bitsHigh (~3072-bit RSA equivalent)Modern TLS handshakes, JWT digital signing
Ed25519Asymmetric (Edwards Curve)256 bitsHigh (Resistant to side-channels)SSH authentication keys, Git commit signing, modern crypto
5 reference recordsCitation: Cryptography, Hash Functions & Encoding Reference Sheet • VeriToolkit

Native Browser Web Crypto API Support Matrix

Standard algorithms supported by window.crypto.subtle in modern browsers.

OperationAlgorithm IdentifierTypical ParametersKey Methods
Digest (Hashing)SHA-256 / SHA-512Nonecrypto.subtle.digest("SHA-256", data)
EncryptionAES-GCM12-byte IV, 128-bit tag lengthcrypto.subtle.encrypt / decrypt
Key DerivationPBKDF2Salt, 600,000+ iterations, SHA-256crypto.subtle.deriveKey
HMAC SigningHMACHash: SHA-256, key length: 256crypto.subtle.sign / verify
Signature GenerationECDSA / Ed25519Named curve P-256crypto.subtle.sign / verify
5 reference recordsCitation: Cryptography, Hash Functions & Encoding Reference Sheet • VeriToolkit
⚡Wave-Safe Launchpad

Interactive Cryptography, Hash Functions Tools

Interactive calculators and converters for this suite are being activated in upcoming rollout waves.

⏳

More tools in this suite launching soon

All 100 tools in this category have passed strict client-side verification and are scheduled for progressive rollout across upcoming waves.

Explore Currently Live Flagship Tools→

❓Frequently Asked Questions & Domain Insights

Clear technical and regulatory explanations regarding these parameters and formulas.

SHA-256 is an ultra-fast algorithm optimized for speed. Modern GPUs can calculate over 10 billion SHA-256 hashes per second, making brute-force dictionary attacks trivial. Passwords must be hashed using deliberately slow, memory-hard key derivation algorithms like Argon2id, bcrypt, or PBKDF2.