2 ms·
Set RD to $N random bytes in decimal: RD=$(dc -e 16i`xxd -c $N -g $N -l $N -p /dev/urandom | tr a-f A-F`p)
by tzs 4y ago
Set RD to $N random bytes in decimal:
RD=$(dc -e 16i`xxd -c $N -g $N -l $N -p /dev/urandom | tr a-f A-F`p)
- radiator 4y agoUnfortunately, this is neither readable nor particularly concise.