internal SymmetricKeyAlgorithmProvider (string name, SymmetricAlgorithm algorithm)
{
AlgorithmName = name;
this.context = algorithm;
KeySizes s = algorithm.LegalKeySizes[0];
SupportedKeyLengths = new SupportedKeyLengths
{
Increment = (uint)s.SkipSize,
Max = (uint)s.MaxSize,
Min = (uint)s.MinSize
};
}