ObjFW
<OFCryptoHash> Protocol Reference

A protocol for classes providing cryptographic hash functions. More...

#include <ObjFW/OFCryptoHash.h>

Inheritance diagram for <OFCryptoHash>:
OFMD5Hash OFRIPEMD160Hash OFSHA1Hash OFSHA224Or256Hash OFSHA384Or512Hash OFSHA224Hash OFSHA256Hash OFSHA384Hash OFSHA512Hash

Detailed Description

A protocol for classes providing cryptographic hash functions.

A cryptographic hash implementing this protocol can be copied. The entire state is copied, allowing to calculate a new hash from there. This is especially useful for generating many hashes with a common prefix.


The documentation for this protocol was generated from the following file: