Leverages nodejs' built-in crypto module for better randomness.