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)
Sun, Feb 9, 1:49 AM
Unknown Object (File)
Sun, Feb 9, 1:49 AM
Unknown Object (File)
Sun, Feb 9, 1:49 AM
Unknown Object (File)
Wed, Feb 5, 1:42 PM
Unknown Object (File)
Sat, Feb 1, 9:56 AM
Unknown Object (File)
Mon, Jan 27, 11:34 AM
Unknown Object (File)
Fri, Jan 24, 2:03 PM
Unknown Object (File)
Fri, Jan 24, 2:03 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
Branch
units
Lint
Lint Errors
SeverityLocationCodeMessage
Errorsrc/utils/utils.php:1294XHP45PHP Compatibility
Errorsrc/utils/utils.php:1294XHP45PHP Compatibility
Unit
Tests Passed
Build Status
Buildable 12667
Build 16098: Run Core Tests
Build 16097: arc lint + arc unit

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.