@@ -268,10 +268,18 @@ * @param string The string with the Base64-encoded data * @return An initialized OFData */ - (instancetype)initWithBase64EncodedString: (OFString *)string; +/** + * @brief Compares the data to other data. + * + * @param data Data to compare the data to + * @return The result of the comparison + */ +- (of_comparison_result_t)compare: (OFData *)data; + /** * @brief Returns a specific item of the OFData. * * @param index The number of the item to return * @return The specified item of the OFData @@ -321,7 +329,7 @@ @end OF_ASSUME_NONNULL_END #import "OFMutableData.h" -#import "OFData+CryptoHashing.h" +#import "OFData+CryptographicHashing.h" #import "OFData+MessagePackParsing.h"