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 > input, rather than from files, is it possible? If not, is there any > other app can do this for me?
Perhaps this:
echo "some string" | gpg --print-md SHA512
is what you're looking for?
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The best cure for insomnia is to get a lot of sleep.
-- W.C. Fields
pgpC3keMX14M2.pgp
Description: PGP signature
_______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
