Exemple #1
0
        protected virtual void InitialiseGenerator(byte[] seed)
        {
            state = new GeneratorState
            {
                Key = new byte[KeyBlockSize]
            };

            Reseed(seed);
        }
Exemple #2
0
        protected void InitialiseGenerator(byte[] seed)
        {
            state = new GeneratorState
            {
                Key = new byte[KeyBlockSize]
            };

            Reseed(seed);

            Debug.WriteLine("Initialisation seeding");
        }