/// <summary> /// Calls RAND_seed() /// </summary> /// <param name="seed"></param> public static void Seed(string seed) { byte[] tmp = Encoding.ASCII.GetBytes(seed); Native.RAND_seed(tmp, tmp.Length); }
/// <summary> /// Calls RAND_seed() /// </summary> /// <param name="seed"></param> public static void Seed(byte[] seed) { Native.RAND_seed(seed, seed.Length); }