From d50c3847192acbb3a5be68b67320fd1819fa81fb Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 20 Aug 2024 20:42:16 -0300 Subject: Initial import --- pw | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 pw (limited to 'pw') diff --git a/pw b/pw new file mode 100755 index 0000000..bf415e5 --- /dev/null +++ b/pw @@ -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 -- cgit v1.2.3