LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-25-2012, 11:14 AM   #1
bayanaa
LQ Newbie
 
Registered: May 2012
Posts: 13

Rep: Reputation: Disabled
md5 or dgst -md5 openssl


Hello for all

I want to know the main difference between

openssl dgst -md5 -out c:\hashed.txt message.txt

and

openssl md5 -out c:\hashed.txt message.txt

When I execute the two commands, I get the same result.
 
Old 05-26-2012, 04:59 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
In both cases, you're telling openssl to generate a MD5 hash of a file. Why would the results differ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
md5/sha1 Openssl libraries gives different output for binary files return.c Programming 1 03-24-2008 12:27 PM
need help unpacking hmac-md5 hash into md5 hash lynx5 Programming 3 02-02-2008 04:06 PM
difference between md5 shadow and md5 elsewhere? whysyn Linux - Security 5 12-11-2007 10:11 AM
Help with this please > openssl/md5.h: No such file or directory bigbadbo Linux - Software 1 03-23-2007 03:39 AM
using iso.md5 and iso.md5.asc Tyir Linux - Newbie 3 07-10-2004 11:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration