emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#20407: closed (Doubt on md5 case sensitivity)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#20407: closed (Doubt on md5 case sensitivity)
Date: Wed, 22 Apr 2015 23:34:02 +0000

Your message dated Wed, 22 Apr 2015 17:33:13 -0600
with message-id <address@hidden>
and subject line Re: bug#20407: Doubt on md5 case sensitivity
has caused the debbugs.gnu.org bug report #20407,
regarding Doubt on md5 case sensitivity
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
20407: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20407
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Doubt on md5 case sensitivity Date: Wed, 22 Apr 2015 21:06:15 +0200
Hello GNU,

Is the md5 checksum comparison case sensitive? Or is it not? I did not find the answer in your manuals. Could you please let me know in a short reply?

Thanks & Regards,
Indranil (From India)

--- End Message ---
--- Begin Message --- Subject: Re: bug#20407: Doubt on md5 case sensitivity Date: Wed, 22 Apr 2015 17:33:13 -0600 User-agent: Mutt/1.5.23 (2014-03-12)
Indranil Chowdhury wrote:
> Is the md5 checksum comparison case sensitive? Or is it not? I did not find
> the answer in your manuals. Could you please let me know in a short reply?

The comparison of the md5sum is case insensitive.  The md5sum is a
value encoded in hexadecimal.  Case is insignificant in a hexadecimal
value.

You can prove this to yourself by trying an experiment.

  /tmp$ echo a > /tmp/a
  /tmp$ md5sum /tmp/a > /tmp/a.md5sum
  /tmp$ cat /tmp/a.md5sum
  60b725f10c9c85c70d97880dfe8191b3  /tmp/a
  /tmp$ md5sum -c /tmp/a.md5sum
  /tmp/a: OK
  /tmp$ awk '{print toupper($1), $2}' /tmp/a.md5sum
  60B725F10C9C85C70D97880DFE8191B3 /tmp/a
  /tmp$ awk '{print toupper($1), $2}' /tmp/a.md5sum | md5sum -c -
  /tmp/a: OK

Please ask questions on the address@hidden mailing list rather than
in the bug tracker.

Bob


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]