base64 representation of current time

#!/bin/bash
time=$(date +%s%N)
s=$(for b in `bc<<<"obase=256;$time"`; do
j=000`bc<<<"obase=8;$b"`
j="\${j: -3}"
echo -n $j
done)
eval "echo $'$s'"|base64

Leave a Reply

Your email address will not be published. Required fields are marked *