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
F15535468: D16123.id38791.diff
Thu, Apr 24, 5:22 AM
F15515490: D16123.diff
Fri, Apr 18, 11:03 AM
F15456401: D16123.id38791.diff
Sun, Mar 30, 9:27 AM
F15454624: D16123.id38793.diff
Sat, Mar 29, 7:26 PM
F15448583: D16123.id.diff
Fri, Mar 28, 5:46 AM
F15445581: D16123.diff
Thu, Mar 27, 2:44 PM
F15419773: D16123.diff
Mar 21 2025, 8:48 AM
F15409825: D16123.diff
Mar 19 2025, 5:36 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.