Subject: Re: command line DES/MD5 encryption
To: John Maier <jmaier@midamerica.net>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-users
Date: 07/23/2003 12:35:34
On Wed, 23 Jul 2003, John Maier wrote:

> I could write a small C program using the passwd.c source code, but if there
> is a command line utility for taking a password and encrypting it, I see no
> need in replicating work.

I am not sure if I understand your need.

passwd(1) can use passwd.conf(5) to use a md5 "localcipher" type.

As for other command-line tools to encrypt, maybe try "md5 -s whatever" or
"echo -n whatever | openssl md5".

   Jeremy C. Reed
   http://www.reedmedia.net/