Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- COM2ExtendedUITypeEditor.cs
- ObjectCloneHelper.cs
- MouseWheelEventArgs.cs
- EditBehavior.cs
- UriSection.cs
- ReflectionUtil.cs
- SoapReflectionImporter.cs
- ProfileSettingsCollection.cs
- ToolBarButtonClickEvent.cs
- PolyQuadraticBezierSegment.cs
- StaticExtensionConverter.cs
- EmbeddedMailObjectsCollection.cs
- WebPartDisplayModeEventArgs.cs
- ViewGenerator.cs
- TextCompositionManager.cs
- AnnotationMap.cs
- FloaterParaClient.cs
- GifBitmapDecoder.cs
- PagesChangedEventArgs.cs
- CharAnimationUsingKeyFrames.cs
- XmlFormatExtensionPrefixAttribute.cs
- Hashtable.cs
- HtmlContainerControl.cs
- DataServiceQuery.cs
- GcHandle.cs
- TaskFileService.cs
- GeneralTransform3DTo2D.cs
- PlanCompiler.cs
- BrowserDefinitionCollection.cs
- FormViewInsertedEventArgs.cs
- EventSourceCreationData.cs
- CodePageUtils.cs
- CodeDirectoryCompiler.cs
- securitymgrsite.cs
- StagingAreaInputItem.cs
- HwndAppCommandInputProvider.cs
- NamedPipeTransportElement.cs
- ExpandableObjectConverter.cs
- SqlCacheDependencyDatabaseCollection.cs
- PnrpPermission.cs
- DependencyPropertyValueSerializer.cs
- TimeSpan.cs
- SqlXml.cs
- CaseInsensitiveHashCodeProvider.cs
- RegisteredExpandoAttribute.cs
- InvokeMethod.cs
- FrameSecurityDescriptor.cs
- ImageConverter.cs
- UserControl.cs
- NodeLabelEditEvent.cs
- DataGridViewRowConverter.cs
- SystemBrushes.cs
- HtmlTableRow.cs
- ModifierKeysValueSerializer.cs
- AdornerPresentationContext.cs
- ControlCachePolicy.cs
- DefaultEventAttribute.cs
- Oci.cs
- MailWriter.cs
- SwitchLevelAttribute.cs
- LocatorPart.cs
- DataGridViewImageCell.cs
- Durable.cs
- TypeSystemHelpers.cs
- EntityDataSourceReferenceGroup.cs
- AutomationProperties.cs
- DefinitionUpdate.cs
- DeviceContexts.cs
- XmlAtomicValue.cs
- WebPageTraceListener.cs
- PropertyChangedEventManager.cs
- AttachmentCollection.cs
- RootBuilder.cs
- XamlSerializationHelper.cs
- RemoteWebConfigurationHostStream.cs
- RTLAwareMessageBox.cs
- PointAnimationClockResource.cs
- serverconfig.cs
- XmlArrayItemAttributes.cs
- UIElementParaClient.cs
- DataGridViewRowStateChangedEventArgs.cs
- MailSettingsSection.cs
- OneOf.cs
- DeclarativeConditionsCollection.cs
- Variable.cs
- CustomErrorCollection.cs
- SystemShuttingDownException.cs
- DataSetMappper.cs
- TextLineResult.cs
- Matrix3DStack.cs
- RegexStringValidator.cs
- EnumValAlphaComparer.cs
- EntityDescriptor.cs
- SettingsProviderCollection.cs
- AspNetCacheProfileAttribute.cs
- _Events.cs
- PixelFormats.cs
- HttpModuleActionCollection.cs
- TimeoutConverter.cs
- AnnotationResourceChangedEventArgs.cs