Re: How to use GnuPG to generate sha512sum hash?

2007-08-31 Thread John Clizbe
Moses wrote: > O...I see. > I've get the correct hash on Linux..., thank you all! :-) > > The problem remains now is how to get the same hashing on Windows, > because echo on windows does not have -n flag: > > echo -n AAA > -n AAA > so, on windows "echo -n AAA | gpg --print-md sha1" is a

Re: How to use GnuPG to generate sha512sum hash?

2007-08-31 Thread Moses
O...I see. I've get the correct hash on Linux..., thank you all! :-) The problem remains now is how to get the same hashing on Windows, because echo on windows does not have -n flag: > echo -n AAA -n AAA so, on windows "echo -n AAA | gpg --print-md sha1" is actually hashing "-n AAA\n" bu

Re: How to use GnuPG to generate sha512sum hash?

2007-08-31 Thread Peter Pentchev
On Fri, Aug 31, 2007 at 04:38:51AM -0400, Todd Zullinger wrote: > Moses wrote: > > I want hash some strings by using GnuPG, I know GPG have hash > > function, but I can't find how to do it in the manuals or other > > documentations on the official website. What's parameters used by > > GPG for hash

Re: How to use GnuPG to generate sha512sum hash?

2007-08-31 Thread David Shaw
On Fri, Aug 31, 2007 at 07:22:00PM +0800, Moses wrote: > Hi, > > (Sorry for last mail, FireGPG truncated my mail...so here it should be) > > Thank you for your reply, it works. But hash results that I got from > GPG is different from some web based hash calculator, such as, > http://www.johnmagui

Re: How to use GnuPG to generate sha512sum hash?

2007-08-31 Thread Moses
Hi, (Sorry for last mail, FireGPG truncated my mail...so here it should be) Thank you for your reply, it works. But hash results that I got from GPG is different from some web based hash calculator, such as, http://www.johnmaguire.us/tools/hashcalc/ or http://people.eku.edu/styere/Encrypt/JS-SHA1

Re: How to use GnuPG to generate sha512sum hash?

2007-08-31 Thread Moses
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Thank you for your reply, it works. But hash results that I got from GPG is different from some web based hash calculator, such as, http://www.johnmaguire.us/tools/hashcalc/ or http://people.eku.edu/styere/Encrypt/JS-SHA1.html e.g. for "AAA", web

Re: How to use GnuPG to generate sha512sum hash?

2007-08-31 Thread Todd Zullinger
Moses wrote: > I want hash some strings by using GnuPG, I know GPG have hash > function, but I can't find how to do it in the manuals or other > documentations on the official website. What's parameters used by > GPG for hash? > > Furthermore, I would like use sha-512 hash strings from standard >

How to use GnuPG to generate sha512sum hash?

2007-08-31 Thread Moses
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi list, I want hash some strings by using GnuPG, I know GPG have hash function, but I can't find how to do it in the manuals or other documentations on the official website. What's parameters used by GPG for hash? Furthermore, I would like use sha-5