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.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel

Reply via email to