Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / Security / Cryptography / Rijndael.cs / 1 / Rijndael.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // // Rijndael.cs // namespace System.Security.Cryptography { [System.Runtime.InteropServices.ComVisible(true)] public abstract class Rijndael : SymmetricAlgorithm { private static KeySizes[] s_legalBlockSizes = { new KeySizes(128, 256, 64) }; private static KeySizes[] s_legalKeySizes = { new KeySizes(128, 256, 64) }; // // protected constructors // protected Rijndael() { KeySizeValue = 256; BlockSizeValue = 128; FeedbackSizeValue = BlockSizeValue; LegalBlockSizesValue = s_legalBlockSizes; LegalKeySizesValue = s_legalKeySizes; } // // public methods // new static public Rijndael Create() { return Create("System.Security.Cryptography.Rijndael"); } new static public Rijndael Create(String algName) { return (Rijndael) CryptoConfig.CreateFromName(algName); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // // Rijndael.cs // namespace System.Security.Cryptography { [System.Runtime.InteropServices.ComVisible(true)] public abstract class Rijndael : SymmetricAlgorithm { private static KeySizes[] s_legalBlockSizes = { new KeySizes(128, 256, 64) }; private static KeySizes[] s_legalKeySizes = { new KeySizes(128, 256, 64) }; // // protected constructors // protected Rijndael() { KeySizeValue = 256; BlockSizeValue = 128; FeedbackSizeValue = BlockSizeValue; LegalBlockSizesValue = s_legalBlockSizes; LegalKeySizesValue = s_legalKeySizes; } // // public methods // new static public Rijndael Create() { return Create("System.Security.Cryptography.Rijndael"); } new static public Rijndael Create(String algName) { return (Rijndael) CryptoConfig.CreateFromName(algName); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SubclassTypeValidator.cs
- Reference.cs
- Point.cs
- VoiceChangeEventArgs.cs
- ThreadStaticAttribute.cs
- DodSequenceMerge.cs
- ToolboxBitmapAttribute.cs
- DecoderReplacementFallback.cs
- ping.cs
- PropertyDescriptorCollection.cs
- RemoteWebConfigurationHost.cs
- ContextConfiguration.cs
- FilterQuery.cs
- SoapFault.cs
- __Error.cs
- ToolboxCategoryItems.cs
- AssemblyBuilder.cs
- ResumeStoryboard.cs
- ProfilePropertySettingsCollection.cs
- SystemResourceKey.cs
- ChannelServices.cs
- MetadataArtifactLoaderCompositeFile.cs
- AnimationStorage.cs
- FunctionNode.cs
- GridViewColumnCollectionChangedEventArgs.cs
- PlainXmlDeserializer.cs
- DiscriminatorMap.cs
- GridViewCommandEventArgs.cs
- AudioDeviceOut.cs
- TagMapInfo.cs
- SkipQueryOptionExpression.cs
- DivideByZeroException.cs
- DiagnosticSection.cs
- XhtmlConformanceSection.cs
- QueryInterceptorAttribute.cs
- TreeBuilderXamlTranslator.cs
- ColumnWidthChangedEvent.cs
- SharedStatics.cs
- AsymmetricKeyExchangeDeformatter.cs
- XmlSiteMapProvider.cs
- GroupItemAutomationPeer.cs
- SecurityHelper.cs
- TagPrefixInfo.cs
- XmlSchemaObjectCollection.cs
- XamlPoint3DCollectionSerializer.cs
- TableRow.cs
- FrameworkRichTextComposition.cs
- ManagementObjectCollection.cs
- WebEventCodes.cs
- SqlFunctionAttribute.cs
- OdbcConnectionPoolProviderInfo.cs
- RotateTransform3D.cs
- PageAsyncTaskManager.cs
- CapabilitiesPattern.cs
- SectionRecord.cs
- BuilderInfo.cs
- AdRotator.cs
- AspCompat.cs
- XmlSchemaSimpleTypeRestriction.cs
- GeneralTransform3DCollection.cs
- SqlNode.cs
- ResourcePermissionBaseEntry.cs
- LogicalTreeHelper.cs
- Vector3DCollectionConverter.cs
- MarginCollapsingState.cs
- XamlReaderHelper.cs
- ToolStripGrip.cs
- EntityContainerAssociationSet.cs
- SynchronizationContextHelper.cs
- XmlObjectSerializerReadContextComplex.cs
- CompiledXpathExpr.cs
- OutputCacheProfile.cs
- updateconfighost.cs
- XPathNodeInfoAtom.cs
- TdsParserHelperClasses.cs
- MimeTypeMapper.cs
- DataGridViewUtilities.cs
- MarkupExtensionReturnTypeAttribute.cs
- XmlAttributeHolder.cs
- FixedPosition.cs
- SHA256Managed.cs
- EventWaitHandleSecurity.cs
- MaterialGroup.cs
- DockingAttribute.cs
- PasswordTextNavigator.cs
- RepeatButton.cs
- DetailsViewPageEventArgs.cs
- FloatUtil.cs
- TableRowsCollectionEditor.cs
- DynamicValidator.cs
- DbConnectionStringBuilder.cs
- COM2IDispatchConverter.cs
- XmlAttributeCollection.cs
- Stack.cs
- BinaryWriter.cs
- TableAdapterManagerGenerator.cs
- Line.cs
- EventWaitHandleSecurity.cs
- KeyConverter.cs
- SpeechSeg.cs