Feature #7054

Make salted md5 generation and validation available through an API

Added by Robert Lemke over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Security
Start date:
2010-03-29
Due date:
% Done:

100%

Estimated time:
1.00 h
PHP Version:
Has patch:
Complexity:

Description

The algorithm for generating salted md5 hashes is used for encrypting passwords, for example for the PersistedUsernamePasswordProvider. However, this function is currently hidden in the security framework and not accessible through the public API. In some situations, for example when updating a password (and therefore the AccountFactory cannot be used), it would be handy to be able to use these functions.

Associated revisions

Revision b7190397 (diff)
Added by Robert Lemke over 9 years ago

[+FEATURE][+API] FLOW3 (Security): Created two new functions for the HashService: createSaltedMd5() and validateSaltedMd5(). Resolves #7054

History

#1 Updated by Robert Lemke over 9 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 10 to 100

Applied in changeset r4020.

Also available in: Atom PDF