Simplify some code, use less confusing crypto nonsense

All we wanted were 4 random bytes in hex!