3 ms·
Obligatory bash solution: $ random_bytes() { xxd -plain -c 0 -l "$1" /dev/urandom; } $ random_bytes 32 e6a4a7bbea69a0164cbb66c89f8f528af93c6d2459fd28d264
by 0x000xca0xfe 3y ago
Obligatory bash solution:
$ random_bytes() { xxd -plain -c 0 -l "$1" /dev/urandom; }
$ random_bytes 32
e6a4a7bbea69a0164cbb66c89f8f528af93c6d2459fd28d2640e2952c031b618
- ineedasername 3y ago>/dev/urandom Hmm, I’ve been using /usr/games/fortune Is this not a best practice?
- gardenhedge 3y agoI'm glad ChatGPT exists so I don't have to remember any of that