diff options
Diffstat (limited to 'pw')
-rwxr-xr-x | pw | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,7 @@ +#!/bin/bash +# +# Simple password generator. +# + +# Get a portion of /dev/urandom, and serialize as base64 +head -c ${1:-20} /dev/urandom | base64 |