Allow to generate a random sring

Authored by dereckson on Thu, Apr 26, 09:39.

Description

Allow to generate a random sring

Summary:
These functions are used in Zed.

This is a new implementation, using closures,
to decrease cyclomatic complexity, and pure
random functions to generate digits or letters
instead to play with arrays of elements.

Test Plan: Unit tests included

Reviewers: dereckson

Reviewed By: dereckson

Differential Revision: https://devcentral.nasqueron.org/D1629

Details

Committed
derecksonThu, Apr 26, 13:40
Pushed
derecksonThu, Apr 26, 13:42
Reviewer
dereckson
Differential Revision
D1629: Allow to generate a random sring
Parents
rKOT80e69e6714b0: Add OmniString::len() method
Branches
Unknown
Tags
Unknown