[wp-trac] [WordPress Trac] #62005: Enhance wp_hash function to support custom hashing algorithms

WordPress Trac noreply at wordpress.org
Sun Sep 8 11:52:27 UTC 2024


#62005: Enhance wp_hash function to support custom hashing algorithms
-----------------------------+------------------------------
 Reporter:  pushpenderindia  |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Security         |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  privacy
-----------------------------+------------------------------

Comment (by ayeshrajans):

 I think this is a good improvement.

 The only suggestion I have is to throw an exception on non-hmac hashing
 algorithms instead of silently falling back to md5. This is security-
 sensitive code, and we should be more cautious and not forgiving.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62005#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list