CASCExplorer.Salsa20.GenerateIV C# (CSharp) Method

GenerateIV() public method

Generates a random initialization vector (SymmetricAlgorithm.IV) to use for the algorithm.
public GenerateIV ( ) : void
return void
        public override void GenerateIV()
        {
            // generate a random 8-byte IV
            IVValue = GetRandomBytes(8);
        }