On Sun, Nov 11, 2001 at 10:08:16AM -0500, Rich Salz wrote: > > $ echo "password" |openssl dgst -sha1 -binary| openssl base64 > > You've got a newline there; try > echo 'password' | tr -d '\012' | openssl dgst ....
use echo with option -n -n is no new-line echo -n "password" |openssl dgst -sha1 -binary| openssl base64 > -- > Zolera Systems, Securing web services (XML, SOAP, Signatures, > Encryption) > http://www.zolera.com > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [EMAIL PROTECTED] > Automated List Manager [EMAIL PROTECTED] > -- rgdz curly -------------------- http://www.e-card.bg -------------------- PGP keyID: 0xCB6681D8 Key fingerprint = 5A 7B 24 E3 9F CE FF 03 E9 FE D0 BD 81 27 08 2C CB 66 81 D8
msg21638/pgp00000.pgp
Description: PGP signature