Homec4science

Support "x bits in bytes" in phutil_units()

Authored by epriestley <git@epriestley.com> on Jun 15 2016, 18:43.

Description

Support "x bits in bytes" in phutil_units()

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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11140

Differential Revision: https://secure.phabricator.com/D16123

Details

Committed
epriestley <git@epriestley.com>Jun 15 2016, 20:18
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUfb1e159d3640: Fix some issues with empty daemon autoscale pools
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU1390fd2e8fdd: Support "x bits in bytes" in phutil_units() (authored by epriestley <git@epriestley.com>).Jun 15 2016, 20:18