sha2
« Back to VersTracker
Description:
Implementation of SHA-256, SHA-384, and SHA-512 hash algorithms
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Security
Tags: cryptography hashing sha256 security cli developer-tools
Install: brew install sha2
About:
Sha2 is a command-line utility that provides fast and reliable implementations of the SHA-2 family of cryptographic hash functions, including SHA-256, SHA-384, and SHA-512. It allows users to quickly compute hash digests for files or standard input, verifying data integrity and authenticity. The tool is designed for simplicity and performance, making it a valuable asset for developers and system administrators.
Key Features:
  • Supports SHA-256, SHA-384, and SHA-512 algorithms
  • Simple command-line interface for hashing files and streams
  • High-performance C implementation
  • Standardized output for easy scripting and verification
Use Cases:
  • Verifying file integrity after download or transfer
  • Generating checksums for secure data validation
  • Auditing files for changes in a directory
Alternatives:
  • openssl – OpenSSL is a comprehensive cryptographic toolkit that includes SHA-2 functions, but it is a much larger and more complex dependency.
  • coreutils (shasum) – The shasum utility, part of Perl or coreutils, is often pre-installed but may be slower than a dedicated C implementation like Sha2.
Version History
Detected Version Rev Change Commit
Sep 15, 2025 10:53pm 0 VERSION_BUMP 0a5ed789
Sep 14, 2024 6:54pm 0 VERSION_BUMP 1f168f04