Pwcrypt is a crypt() function command-line interface software that enables users to encrypt data efficiently.
The latest version of pwcrypt is 1.2.1 and it is copyrighted by A.L. Lambert. To begin using the program, type 'pwcrypt' in the command line followed by the appropriate flags. These include the ability to use MD5 encryption, run the program in quiet mode (useful for 'cleartext | crypt' commands), view the help message, and print version info among other options.
Additionally, if you do not enter a password on the command line, pwcrypt will prompt you for one (unless you are in quiet mode). All screen output is sent to stderr, which enables you to conveniently redirect output to a file. For example, running 'pwcrypt > somefile' will prompt you for a password, but all output will be saved in 'somefile.'
Lastly, pwcrypt is also useful for shell scripting. The program can be integrated into scripts such as the proftpd-adduser script, which adds user accounts to a proftpd installation that uses a separate password file for ftp logins. It is worth noting that the script should contain error-checking functions, but it is entirely functional. With its simple and versatile functionality, pwcrypt is an essential program for encrypting passwords in the command line.
Version 1.2.2: N/A