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
Unknown Object (File)
Tue, May 27, 11:15 AM
Unknown Object (File)
Sat, May 17, 8:36 AM
Unknown Object (File)
Tue, May 6, 7:15 AM
Unknown Object (File)
Wed, Apr 30, 6:02 PM
Unknown Object (File)
Apr 28 2025, 5:08 AM
Unknown Object (File)
Apr 27 2025, 7:11 PM
Unknown Object (File)
Apr 27 2025, 4:04 PM
Unknown Object (File)
Apr 27 2025, 12:38 PM
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.