libxcrypt

Extended crypt library supporting descrypt, md5crypt, bcrypt, and others

brewmacoslinux
Try with needOr install directly
Source

About

Extended crypt library for descrypt, md5crypt, bcrypt, and others

Commands

libxcrypt

Examples

Generate a bcrypt password hash for authentication systems$ echo 'password123' | crypt
Verify a password against an existing bcrypt hash in applications$ crypt_gensalt() && crypt_r() in C programs using libxcrypt
Use in system authentication by linking against libxcrypt in /etc/shadow$ gcc -o auth_app myapp.c -lxcrypt