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
- BufferModeSettings.cs
- LogFlushAsyncResult.cs
- TransformGroup.cs
- WindowsRichEdit.cs
- CodeFieldReferenceExpression.cs
- UniformGrid.cs
- EnumConverter.cs
- FunctionQuery.cs
- XmlSerializerAssemblyAttribute.cs
- EvidenceBase.cs
- XmlCollation.cs
- Pen.cs
- BitmapEncoder.cs
- SingleConverter.cs
- DirectionalLight.cs
- SchemaName.cs
- SimpleTextLine.cs
- SizeIndependentAnimationStorage.cs
- Point3DAnimation.cs
- DataDocumentXPathNavigator.cs
- ProjectedSlot.cs
- List.cs
- Hex.cs
- StrongNameIdentityPermission.cs
- TranslateTransform3D.cs
- RemotingConfiguration.cs
- DomainUpDown.cs
- LocationUpdates.cs
- UserMapPath.cs
- NavigationEventArgs.cs
- TextWriterEngine.cs
- FileDialogCustomPlace.cs
- ScriptBehaviorDescriptor.cs
- _ShellExpression.cs
- InvalidWMPVersionException.cs
- RootDesignerSerializerAttribute.cs
- InternalConfigRoot.cs
- SerialReceived.cs
- PassportIdentity.cs
- RequestQueryProcessor.cs
- ByteAnimationUsingKeyFrames.cs
- EventRouteFactory.cs
- TextSerializer.cs
- VectorCollectionValueSerializer.cs
- TemplateGroupCollection.cs
- StateItem.cs
- IntellisenseTextBox.cs
- CodeTypeMember.cs
- ConfigurationSectionCollection.cs
- ModuleConfigurationInfo.cs
- ButtonChrome.cs
- MissingSatelliteAssemblyException.cs
- PropertyKey.cs
- ThicknessAnimation.cs
- Util.cs
- OdbcStatementHandle.cs
- SpellCheck.cs
- SettingsContext.cs
- ClientSession.cs
- UIAgentAsyncBeginRequest.cs
- AssemblyNameProxy.cs
- TreeNodeEventArgs.cs
- Geometry.cs
- TypeExtension.cs
- FlowPosition.cs
- RoutedEvent.cs
- InstanceDataCollectionCollection.cs
- AssemblyAssociatedContentFileAttribute.cs
- InternalTypeHelper.cs
- FrameworkTemplate.cs
- ConfigXmlText.cs
- CustomGrammar.cs
- BasicCellRelation.cs
- invalidudtexception.cs
- UnmanagedMemoryStreamWrapper.cs
- FormViewInsertEventArgs.cs
- MetadataProperty.cs
- FrameworkTemplate.cs
- FormatSettings.cs
- SR.Designer.cs
- DispatcherEventArgs.cs
- Vector3DValueSerializer.cs
- InkCanvasSelectionAdorner.cs
- SingleStorage.cs
- TextElementAutomationPeer.cs
- CustomPopupPlacement.cs
- SubclassTypeValidatorAttribute.cs
- UriParserTemplates.cs
- ThreadStaticAttribute.cs
- FunctionCommandText.cs
- JoinSymbol.cs
- FlowDocumentPaginator.cs
- LicenseManager.cs
- SearchExpression.cs
- CaseInsensitiveComparer.cs
- EmbossBitmapEffect.cs
- TemplateParser.cs
- Types.cs
- ClientSideProviderDescription.cs
- DbProviderManifest.cs