How to generate 256-bit random hex strings in MacOS
The command openssl gives us everything we need.
If you run openssl rand -hex 32 you will have an output like this:
openssl rand -hex 32
fe2b27f8d12cc51729c6fcf43c8316b156eb86d539330ab8eb9b5641a5569df0
But what happens if we need more than one, say 20. We'll need to run seq 20 | xargs -n1 -I{} openssl rand -hex