Re: MD5 Problem

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

 



Hi

I tried echo -n , but that didnt work . Also , there is another binary ->
/sbin/grub-md5crypt which generates the md5 hash , but

it does not take command line input , and not from echo either .

Does anyone have any suggestions ?

Regards,
Karan

----- Original Message -----
From: "William Hooper" <whooper@xxxxxxxxxxxxx>
To: <shrike-list@xxxxxxxxxx>
Sent: Friday, March 12, 2004 7:57 PM
Subject: Re: MD5 Problem


>
> 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
>



-- 
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