1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 12:12:43 +01:00
phorge-phorge/src/infrastructure/util
epriestley 4af2e3c4e2 Add PhabricatorHash::digestForIndex()
Summary: Does this seem reasonable? It's a bit more compact than digest() (6 bits / byte instead of 4 bits / byte) and 72 bits of entropy @ 12 bytes instead of 128 bits of entropy @ 32 bytes. I feel like it's important to preserve the printability, though, and this seemed like a fairly good balance of concerns.

Test Plan: unit tests

Reviewers: vrana

Reviewed By: vrana

CC: aran, yemao932

Differential Revision: https://secure.phabricator.com/D4253
2012-12-21 05:43:33 -08:00
..
__tests__ Add PhabricatorHash::digestForIndex() 2012-12-21 05:43:33 -08:00
PhabricatorGlobalLock.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorHash.php Add PhabricatorHash::digestForIndex() 2012-12-21 05:43:33 -08:00
PhabricatorSlug.php Delete license headers from files 2012-11-05 11:16:51 -08:00