using System;
using System.Runtime.InteropServices;
namespace System.Security.Cryptography
{
/// Represents the base class from which all implementations of the symmetric encryption algorithm must inherit.
// Token: 0x02000526 RID: 1318
[ComVisible(true)]
public abstract class Rijndael : SymmetricAlgorithm
{
/// Initializes a new instance of .
// Token: 0x0600306C RID: 12396 RVA: 0x0009E47C File Offset: 0x0009C67C
protected Rijndael()
{
this.KeySizeValue = 256;
this.BlockSizeValue = 128;
this.FeedbackSizeValue = 128;
this.LegalKeySizesValue = new KeySizes[1];
this.LegalKeySizesValue[0] = new KeySizes(128, 256, 64);
this.LegalBlockSizesValue = new KeySizes[1];
this.LegalBlockSizesValue[0] = new KeySizes(128, 256, 64);
}
/// Creates a cryptographic object to perform the algorithm.
/// A cryptographic object.
/// The algorithm was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.
///
///
///
// Token: 0x0600306D RID: 12397 RVA: 0x0009E4FC File Offset: 0x0009C6FC
public new static Rijndael Create()
{
return Rijndael.Create("System.Security.Cryptography.Rijndael");
}
/// Creates a cryptographic object to perform the specified implementation of the algorithm.
/// A cryptographic object.
/// The name of the specific implementation of to create.
/// The algorithm described by the parameter was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.
// Token: 0x0600306E RID: 12398 RVA: 0x0009E508 File Offset: 0x0009C708
public new static Rijndael Create(string algName)
{
return (Rijndael)CryptoConfig.CreateFromName(algName);
}
}
}