BSD Ports

security/p5-Crypt-Password-Util 0.17 DragonFly

Crypt password utilities

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
perl5, security
Package size
13.8 KiB, 49.8 KiB installed

Description

Crypt::Password::Util is a crypt password utilities.

Its crypt($str) works like Perl's crypt(), but automatically choose the appropriate crypt type and random salt. Will first choose SSHA512 with 64-bit random salt. If not supported by system, fall back to MD5-CRYPT with 32-bit random salt. If that is not supported, fall back to CRYPT.

Its crypt_type($str) returns crypt type, or undef if $str does not look like a crypted password. Currently known types: CRYPT (traditional DES crypt), MD5-CRYPT (including Apache variant), SSHA256 (salted SHA256), SSHA512 (salted SHA512), and PLAIN-MD5.

See also Authen::Passphrase which recognizes more encodings (but currently not SSHA256 and SSHA512).

In the other systems

SystemPortVersion
DragonFlysecurity/p5-Crypt-Password-Util0.17
FreeBSDsecurity/p5-Crypt-Password-Util0.17
HardenedBSDsecurity/p5-Crypt-Password-Util0.17
GhostBSDsecurity/p5-Crypt-Password-Util0.17

Install

Binary package:

pkg install p5-Crypt-Password-Util

From DPorts:

cd /usr/dports/security/p5-Crypt-Password-Util && make install clean

Dependencies

Run dependencies 2