aboutsummaryrefslogtreecommitdiff
path: root/pw
blob: bf415e512d4d05a856d416f976f33a92d473232a (plain)
1
2
3
4
5
6
7
#!/bin/bash
#
# Simple password generator.
#

# Get a portion of /dev/urandom, and serialize as base64
head -c ${1:-20} /dev/urandom | base64