Make getRandomBytes a local function.
Add README.
Add simple test.

Generates 100000 passwords and checks if there are collissions.