Next: Message Authentication Codes, Previous: Public Key cryptography, Up: The Libgcrypt Library [Contents][Index]
Libgcrypt provides an easy to use and consistent interface for hashing. Hashing is buffered and several hash algorithms can be updated at once. It is possible to compute a HMAC using the same routines. The programming model follows an open/process/close paradigm and is in that similar to other building blocks provided by Libgcrypt.
For convenience reasons, a few cyclic redundancy check value operations are also supported.