Page MenuHomePhabricator

Support "x bits in bytes" in phutil_units()
ClosedPublic

Authored by epriestley on Jun 15 2016, 4:44 PM.
Tags
None
Referenced Files
F18886496: D16123.id.diff
Nov 7 2025, 4:28 AM
F18840649: D16123.diff
Oct 28 2025, 3:02 AM
F18762429: D16123.id38793.diff
Oct 6 2025, 6:57 PM
F18740641: D16123.id.diff
Oct 2 2025, 4:19 AM
F18737825: D16123.diff
Oct 1 2025, 12:51 PM
F18667522: D16123.diff
Sep 24 2025, 11:29 AM
F18627748: D16123.id38791.diff
Sep 16 2025, 4:42 AM
F18507711: D16123.id.diff
Sep 5 2025, 2:23 AM
Subscribers
None

Details

Summary

Ref T11140. I need to generate some encryption keys to do at-rest encryption, and the code can be a little more readable as 256 bits in bytes, etc.

Test Plan

Unit tests.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Support "x bits in bytes" in phutil_units().
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 15 2016, 5:15 PM
This revision was automatically updated to reflect the committed changes.