all: Unify random string generation into a single package

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>