Use getentropy() for seeding PRNG