+const crypto = require('crypto')
+
+/**
+ * Generate a cryptographically secure random number in the [0,1[ range
+ *
+ * @returns
+ */
+function secureRandom () {
+ return crypto.randomBytes(4).readUInt32LE() / 0x100000000
+}
+
+/**
+ * @param max
+ * @param min
+ */