How to Calculate and Generate MD5 Hash Value in Linux and Unix with md5sum

In Linux, Unix and most Unix-like operating system such as CentOS, RedHat Fedora Core, Ubuntu and SuSE Linux, there is built-in functionality to calculate and generate the hash value of MD5 without having to download and install additional program. The program that can show the MD5 hash for text, digits, numbers or string is md5sum.

md5sum is installed by default in most Linux and Unix operating system, including on most web hosts or web servers powered by cPanel or Plesk, where administrators or webmasters have to commonly generate MD5 hash for the password used in PHP scripts or other web applications.

To generate MD5 hash value for a combination of characters and digits using md5sum, use the command syntax below (with quotation marks between the string to generate the MD5 hash for):

echo -n “string” | md5sum

The MD5 hash will be displayed below the command. Administrators can run the command on console screen or via SSH (Telnet not recommended though as it’s not encrypted and secured).

One Response to “How to Calculate and Generate MD5 Hash Value in Linux and Unix with md5sum”

  1. Proper Way to Generate MD5 Hash for XCache Administration Password with md5sum or PHP » My Digital Life
    December 10th, 2008 02:33
    1

    [...] generate the MD5 hashes for your desired password for XCache admin-page in PHP.INI, there are plenty of methods. The [...]

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.

New Articles

Incoming Search Terms for the Article

linux md5 hash - linux hash - unix md5 - linux generate md5 hash - md5 unix - MD5 linux - hash linux - calculate md5 linux - linux calculate md5 - linux md5 string - linux md5 - md5 hash linux - linux generate md5 - generate md5 linux - linux md5 password - ubuntu md5 password - ubuntu generate md5 password - generate md5 password ubuntu - ubuntu create md5 hash - md5 calculator linux - hash a string in linux - linux md5 text - md5 ubuntu command - unix generate md5 - calculating md5 linux - calculate md5 in linux - generate sha1 linux - hash calculator for linux - hash in linux - linux md5 - linux text to md5 - linux create md5 password - create md5 hash ubuntu - generate hash linux - how to generate md5 hash in linux - linux compute md5 - md5 on unix - generate unix password hash - how to generate md5 in Linux - linux hachage md5 - unix password hash - Centos calculate md5 - linux cli generate md5 for string - commande md5 linux - generate sha1 on linux - generate md5 hash linux - linux generate sha1 - linux make md5 - linux calculate hash password - md5 calculator tool for ubuntu -