Re: generating sha1 key



Am 07.09.2011 12:25, schrieb Cecil Westerhof:
echo dummy | openssl sha1
echo sends an extra linefeed character

try
echo -n
instead:

echo -n dummy | sha1sum
829c3804401b0727f70f73d4415e162400cbe57b -

echo -n dummy | openssl sha1
(stdin)= 829c3804401b0727f70f73d4415e162400cbe57b

greetings chrigu
.