View Full Version : which pkg is md5 located
Darren Crotchett
December 6th, 2005, 09:17 PM
I am looking for the command line utility, "md5". For example, I just want to be able to create an md5 string like:
md5 keyword
In which package would it be located?
TIA,
Darren
5-HT
December 6th, 2005, 09:51 PM
Are you looking specifically for 'md5', or just a utility to generate/check md5 sums?
If you specifically want 'md5', unfortunately, I'm neither familiar with 'md5' nor could find it on the main, restricted, universe, or multiverse repositories.
There is, however, an excellent command line md5 utility called 'md5sum' that is part of the coreutils package.
It should be already installed as the coreutils package contains just that...core system utilities (like ls, mv, etc...).
To learn what it can do, and how to use it check out the manual page:
man md5sum
Hope this helps.
Darren Crotchett
December 6th, 2005, 11:38 PM
Are you looking specifically for 'md5', or just a utility to generate/check md5 sums?
If you specifically want 'md5', unfortunately, I'm neither familiar with 'md5' nor could find it on the main, restricted, universe, or multiverse repositories.
There is, however, an excellent command line md5 utility called 'md5sum' that is part of the coreutils package.
It should be already installed as the coreutils package contains just that...core system utilities (like ls, mv, etc...).
To learn what it can do, and how to use it check out the manual page:
man md5sum
Hope this helps.
Thanks. But, as far as I can see, that only generates an md5sum on a file. I use/used a program called md5 on FreeBSD to generate an encrypted key based on a string.
I'm trying to encrypt my password and put it in a database. So, for example, I want to do this from the command line (I think the option is "-c"):
$md5 -c secret_password
Thanks,
Darren
vampire_janus
December 7th, 2005, 04:36 AM
look for the package openssh and/or openssl
Darren Crotchett
December 7th, 2005, 07:53 AM
look for the package openssh and/or openssl
Thanks. I have both installed already.
Darren
5-HT
December 7th, 2005, 02:34 PM
Thanks. But, as far as I can see, that only generates an md5sum on a file. I use/used a program called md5 on FreeBSD to generate an encrypted key based on a string.
I'm trying to encrypt my password and put it in a database...
Thanks,
Darren
Yeah, sorry didn't realize you wanted it for that purpose, and md5sum AFAIK just generates and checks a hash.
Just bumping this in the hope that someone more knowledgeable may be able to help you out.
knattlhuber
February 4th, 2008, 03:27 AM
Some two years too late but still...
There's the 'sleuthkit' package that has the md5 command.
Also, PHP can generate an MD5 hash key from a string:
string md5 ( string $str [, bool $raw_output ] )
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.