Re: MD5 Problem

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

 



echo -n "string" | md5sum

echo normally appends a \n, so you need to tell it not to do that.

/Brian/

On Fri, 2004-03-12 at 08:34, Karan Saberwal wrote:
> 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 .
> 
> Since anaconda prompts for the boot-loader password during installation , I
> tried to trace the module for generating the MD5 hash .But I am unable to
> 
> find it . Could someone please throw some light on it ?
> 
> Karan
> 
> 
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
-- 
       Brian Long                      |         |           |
       Americas IT Hosting Sys Admin   |       .|||.       .|||.
       Cisco Linux Developer           |   ..:|||||||:...:|||||||:..
       Phone: (919) 392-7363           |   C i s c o   S y s t e m s



[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux