Feature #31698

HMAC Convenience methods in HashService

Added by Bastian Waidelich about 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Should have
Category:
Security
Start date:
2011-11-09
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:
easy

Description

The Cryptography\HashService currently comes with two methods for creating & validating HMAC hashes: generateHmac() and validateHmac().
That requires the user to deal with the actual string and it's hash individually.
I suggest to add two methods appendHmac() and validateAndStripHmac() that allows the user to simply append the HMAC to a given string.

#1

Updated by Mr. Hudson about 10 years ago

  • Status changed from Accepted to Under Review

Patch set 1 of change If3417ca25094da9e28a923a0b43c2735932b6060 has been pushed to the review server.
It is available at http://review.typo3.org/6608

#2

Updated by Mr. Hudson about 10 years ago

Patch set 2 of change If3417ca25094da9e28a923a0b43c2735932b6060 has been pushed to the review server.
It is available at http://review.typo3.org/6608

#3

Updated by Mr. Hudson about 10 years ago

Patch set 3 of change If3417ca25094da9e28a923a0b43c2735932b6060 has been pushed to the review server.
It is available at http://review.typo3.org/6608

#4

Updated by Mr. Hudson about 10 years ago

Patch set 4 of change If3417ca25094da9e28a923a0b43c2735932b6060 has been pushed to the review server.
It is available at http://review.typo3.org/6608

#5

Updated by Bastian Waidelich about 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#6

Updated by Karsten Dambekalns almost 10 years ago

  • Target version changed from 1.1 to 1.1 beta 1

Also available in: Atom PDF