Hash Functions

Cryptographic hash functions for data integrity, digital signatures, and key derivation.

Available Hash Functions

SHA-256

The 256-bit Secure Hash Algorithm, widely used and standardized by NIST.

  • Output Size: 256 bits (32 bytes)
  • Security Level: 128 bits
  • Use Cases: Digital signatures, certificates, blockchain

SHA-512

The 512-bit Secure Hash Algorithm, providing higher security margins.

  • Output Size: 512 bits (64 bytes)
  • Security Level: 256 bits
  • Use Cases: High-security applications, HMAC

BLAKE2b

High-speed cryptographic hash function optimized for 64-bit platforms.

  • Output Size: 1-64 bytes (configurable)
  • Security Level: Up to 256 bits
  • Use Cases: Fast hashing, password hashing base

BLAKE2s

High-speed cryptographic hash function optimized for 32-bit platforms.

  • Output Size: 1-32 bytes (configurable)
  • Security Level: Up to 128 bits
  • Use Cases: Embedded systems, mobile applications

BLAKE3

Next-generation hash function with parallel processing capabilities.

  • Output Size: Unlimited (extendable)
  • Security Level: 128 bits minimum
  • Use Cases: File integrity, content addressing

SHA-3

NIST-standardized Keccak-based cryptographic hash functions.

  • Output Size: 224, 256, 384, or 512 bits
  • Security Level: 112-256 bits
  • Use Cases: Standards compliance, length extension resistance

SHAKE256

Extendable-output function based on SHA-3 with arbitrary length output.

  • Output Size: Unlimited (extendable)
  • Security Level: 256 bits
  • Use Cases: Key derivation, post-quantum cryptography

Performance Comparison

Algorithm Throughput Security Use Case
BLAKE3 Fastest 128+ bits General purpose
BLAKE2b Very Fast 256 bits 64-bit systems
BLAKE2s Fast 128 bits 32-bit systems
SHA-256 Moderate 128 bits Standards compliance
SHA-512 Moderate 256 bits High security
SHA-3 Moderate 128-256 bits NIST standard, length extension resistance
SHAKE256 Moderate 256 bits Variable output

Selection Guide

  • For new applications: BLAKE3 or BLAKE2b
  • For standards compliance: SHA-256, SHA-512, or SHA-3
  • For embedded systems: BLAKE2s
  • For variable output: SHAKE256
  • For post-quantum: SHAKE256
  • For length extension resistance: SHA-3 or BLAKE3