portable-libxcrypt
« Back to VersTracker
Description:
Extended crypt library for descrypt, md5crypt, bcrypt, and others
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Security
Tags: security cryptography authentication library password
Install: brew install portable-libxcrypt
About:
PortableLibxcrypt is a modern, portable implementation of the crypt(3) password hashing function. It provides strong support for legacy hashing algorithms like DES and MD5, as well as modern methods like bcrypt and SHA-2. This library allows applications to securely handle and verify user passwords across different Unix-like systems.
Key Features:
  • Support for legacy (DES, MD5) and modern (bcrypt, SHA-2) hashing
  • Highly portable across various Unix-like operating systems
  • Drop-in replacement for system crypt(3) libraries
  • Actively maintained with a focus on security and correctness
Use Cases:
  • Adding secure password hashing capabilities to C/C++ applications
  • Verifying legacy password hashes in system migration tools
  • Building authentication systems that require cross-platform compatibility
Alternatives:
  • OpenSSL libcrypto – Provides hashing functions but is a much larger and more complex dependency focused on general cryptography.
  • Libsodium – A modern cryptography library focused on high-level, secure-by-default primitives, not specifically on the legacy crypt(3) standard.
Version History
Detected Version Rev Change Commit
Sep 30, 2025 4:01pm 0 NEW 43d98049