Output multiple hashes
megamind6155 via Gnupg-devel <[email protected]>
| Newsgroups | gmane.comp.encryption.gpg.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, I wanted libgcrypt to print hashes of a buffer in various algorithms. for example if I have a buffer: char* buffer = "hello\n"; How do I get multiple hashes? For example, MD5 and SHA1? I've enabled both using `gcry_md_enable`, but I can only read using one algorithm using `gcry_md_read` Am I supposed to make 2 reads? What if I have many algorithms I want to use? Any help provided would be appreciated. Yours Faithfully, megamind6155. _______________________________________________ Gnupg-devel mailing list [email protected] https://lists.gnupg.org/mailman/listinfo/gnupg-devel
OpenPGP_signature.asc
(application/pgp-signature, 236 B)
-----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQRbdQMVO0afc9nKdSS6p4+1A08UjwUCZhKcmgUDAAAAAAAKCRC6p4+1A08UjyV2 AP9XU/F1voCqorUvWzAc2uyZnmeT2acqWmNMatpEJgoehwD/SXACqR2n4V6R8n7Uo3JV59pNWi2K +wC/jz6twg5IBwE= =9TkR -----END PGP SIGNATURE-----