@@ -41,18 +41,20 @@ * @param hashClass The class of the hashing algorithm * @return A new, autoreleased OFHMAC */ + (instancetype)HMACWithHashClass: (Class )hashClass; +- init OF_UNAVAILABLE; + /*! * @brief Initialized an already allocated OFHMAC with the specified hashing * algorithm. * * @param hashClass The class of the hashing algorithm * @return An initialized OFHMAC */ -- initWithHashClass: (Class )hashClass; +- initWithHashClass: (Class )hashClass OF_DESIGNATED_INITIALIZER; /*! * @brief Sets the key for the HMAC. * * @note This resets the HMAC!