Re: MD5 Problem

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

 



Karan Saberwal said:
> Hi all
>
> I am having the following problem :
>
> I want to take a string from a user and generate an MD5 hash for it . The
> cmd line utility "md5sum" does it for files etc , but I got a hash by
> giving
> :
>
> $echo "string" | md5sum
>
> The problem is that this string does not generate the same hash as that
> generated by GRUB .

Try "echo -n" so that echo doesn't add a newline.

-- 
William Hooper


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux