Commit graph

4 commits

Author SHA1 Message Date
Umherirrender
0855bbe8ad MWCryptHash: Avoid bool as array key
php allows only int|string. Use strings instead to avoid implicit casts

Change-Id: Ibc9bfa6199d3794095f1619d92cc406ccf1b1e6b
2021-08-26 21:43:12 +00:00
James D. Forrester
0958a0bce4 Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull
Change-Id: I90cfe8366c0245c9c67e598d17800684897a4e27
2020-01-10 14:17:13 -08:00
Max Semenik
06a275f48e Remove more HHVM hacks
Change-Id: I6bd298ef3b887173b87004ee055be2a4f6ea5f11
2019-10-06 10:16:09 +00:00
Kunal Mehta
9300bc2933 Move MWCryptHash into libs/
Remove the single wfDebug() call that was making this class MW specific,
someone can log the return value of MWCryptHash::hashAlgo() if they'd
like to know the specific implementation being used.

Change-Id: Ibb7ead7594edab7861631046dd8316daab613401
2016-10-01 23:19:28 -07:00
Renamed from includes/utils/MWCryptHash.php (Browse further)