This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int GUIDS_TO_CREATE = 1000000; //10000000; | |
//The code below was converted from https://gist.github.com/kofisarfo/5420710 | |
//public static class CSPRNG { | |
//public static byte[] GetBytes(int entropy) | |
Func<int, byte[]> GetBytes = | |
(entropy)=>{ | |
if (entropy < 8) { |