summaryrefslogtreecommitdiff
path: root/do_gen_base64key
blob: fd4eab545d78e3aea3065b3723d81e736fc5a6cc (plain) (blame)
1
2
3
4
5
6
#!/bin/sh
#$key=$(dd status=none if=/dev/urandom bs=512 count=4)
# base64 -w 0
#echo "$key" | xclip -o
dd status=none if=/dev/urandom bs=512 count=4 | base64 -w 0 | xclip -i
echo Copied.