Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Model3DCollection.cs
- Nullable.cs
- CommonXSendMessage.cs
- ColorPalette.cs
- HighlightVisual.cs
- RegexParser.cs
- AsymmetricSignatureDeformatter.cs
- Glyph.cs
- ScrollProviderWrapper.cs
- ContractInstanceProvider.cs
- DesignerHierarchicalDataSourceView.cs
- ControlParameter.cs
- LinqDataSourceEditData.cs
- InstanceOwner.cs
- WindowsFormsSectionHandler.cs
- UnsafeNativeMethods.cs
- ToolStripSplitStackLayout.cs
- SerialErrors.cs
- AssemblyBuilderData.cs
- XmlNullResolver.cs
- ObjectCloneHelper.cs
- XmlSortKeyAccumulator.cs
- WrappingXamlSchemaContext.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- ToolStripPanelRenderEventArgs.cs
- CommandDevice.cs
- FtpWebRequest.cs
- LayoutTable.cs
- UIElement.cs
- CodeIdentifier.cs
- RC2.cs
- InfiniteIntConverter.cs
- WebControlAdapter.cs
- ExpressionConverter.cs
- FrameworkRichTextComposition.cs
- Switch.cs
- MULTI_QI.cs
- ListView.cs
- ApplyImportsAction.cs
- SelectionChangedEventArgs.cs
- ILGenerator.cs
- ConditionalAttribute.cs
- StorageComplexPropertyMapping.cs
- CompoundFileStreamReference.cs
- CancellationToken.cs
- DecimalAnimationBase.cs
- ValidationErrorInfo.cs
- httpserverutility.cs
- SqlGenerator.cs
- XamlClipboardData.cs
- TypeConverterHelper.cs
- EventSourceCreationData.cs
- MenuItemStyle.cs
- ObjectTag.cs
- ConfigXmlAttribute.cs
- MatrixUtil.cs
- ServiceBehaviorElementCollection.cs
- SqlCommandBuilder.cs
- FormatterServices.cs
- HttpListener.cs
- DispatcherExceptionFilterEventArgs.cs
- AutoGeneratedField.cs
- CreateInstanceBinder.cs
- WorkflowApplicationEventArgs.cs
- SignedInfo.cs
- SectionRecord.cs
- CodeDomSerializationProvider.cs
- RegistryPermission.cs
- MessageQueuePermissionAttribute.cs
- DialogResultConverter.cs
- StrokeCollection2.cs
- HebrewCalendar.cs
- FormatterConverter.cs
- NamespaceMapping.cs
- SaveFileDialog.cs
- diagnosticsswitches.cs
- PathSegment.cs
- LoaderAllocator.cs
- QuadraticBezierSegment.cs
- MachineSettingsSection.cs
- SafeProcessHandle.cs
- XmlWrappingWriter.cs
- DocumentPageTextView.cs
- ExpressionEditorAttribute.cs
- NotImplementedException.cs
- SerialPort.cs
- PrintDialog.cs
- PieceDirectory.cs
- RightsManagementPermission.cs
- ChannelServices.cs
- DateTimeFormatInfoScanner.cs
- ErrorReporting.cs
- CacheOutputQuery.cs
- XsltContext.cs
- WebPartCatalogCloseVerb.cs
- MruCache.cs
- TreeNodeClickEventArgs.cs
- PerformanceCounterLib.cs
- StylusOverProperty.cs
- RoutedEventArgs.cs