I stumbled across this interesting code on Reddit for generating Ethereum private keys with terminal:
cat /dev/urandom |LC_ALL=C tr -dc '0-9a-f' | fold -w 64 | head -n 1
Of course the randomness and everything would be sufficient but is it possible that this could generate an invalid key? Are all keys generating in this manner valid or does Ethereum have some weird exception rules?
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364140– Albert Renshaw Jan 04 '18 at 21:590is not a valid private key. – Ismael Jan 05 '18 at 00:11