SHA-384 Security API

Side-channel claim limit. Nothing on this page claims constant-time behaviour or side-channel resistance for any target: the side-channel harness covers nothing (finding A48) and no measurement exists. The Rust and C cores are designed for constant time and unmeasured; managed runtimes (JIT, GC, bounds checks) make no timing claim. Where this page names constant-time or side-channel techniques, in prose or in code, they are design intent or recommendations, not measured properties.

Version: 1.0.0
Last Updated: 2025-01-02
Security Classification: Cryptographic Hash Function
Author: MetaMUI Security Team

Overview

SHA-384 is a truncated version of SHA-512, providing 192-bit collision resistance with improved performance on 64-bit systems.

Security Warnings ⚠️

  1. Truncated SHA-512: Uses same algorithm as SHA-512 with truncated output
  2. 64-bit Optimized: Best performance on 64-bit architectures
  3. Length Extension: Vulnerable to length extension attacks (use HMAC for MACs)
  4. Not Post-Quantum: Not resistant to quantum attacks (Grover’s algorithm)

API Functions

Hashing

def sha384(data: bytes) -> bytes:
    """Compute SHA-384 hash of data"""

Incremental Hashing

class SHA384:
    def update(self, data: bytes) -> None:
        """Update hash state with new data"""
    
    def finalize(self) -> bytes:
        """Finalize and return hash"""

Security Best Practices

Security Analysis

Threat Model: SHA-384 Threat Model

The comprehensive threat analysis covers:

For complete security analysis and risk assessment, see the dedicated threat model documentation.

References

  1. FIPS 180-4: Secure Hash Standard

Back to Algorithm Security APIs