CASCExplorer.Salsa20.Salsa20 C# (CSharp) Method

Salsa20() public method

Initializes a new instance of the Salsa20 class.
The implementation of the class derived from the symmetric algorithm is not valid.
public Salsa20 ( ) : System
return System
        public Salsa20()
        {
            // set legal values
            LegalBlockSizesValue = new[] { new KeySizes(512, 512, 0) };
            LegalKeySizesValue = new[] { new KeySizes(128, 256, 128) };

            // set default values
            BlockSizeValue = 512;
            KeySizeValue = 256;
            m_rounds = 20;
        }