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
- ObjectItemCachedAssemblyLoader.cs
- SchemaImporter.cs
- AsyncInvokeContext.cs
- HeaderCollection.cs
- AsyncCodeActivity.cs
- TrackingMemoryStream.cs
- AtlasWeb.Designer.cs
- LayoutEditorPart.cs
- WebPartVerbsEventArgs.cs
- PreservationFileWriter.cs
- BufferedWebEventProvider.cs
- DependencyPropertyDescriptor.cs
- MediaSystem.cs
- ApplicationSettingsBase.cs
- WorkerRequest.cs
- SortFieldComparer.cs
- ObjectStorage.cs
- PublisherMembershipCondition.cs
- PathData.cs
- SingleBodyParameterMessageFormatter.cs
- CommandField.cs
- SecurityPermission.cs
- WorkflowPersistenceContext.cs
- SQLStringStorage.cs
- Math.cs
- CultureTableRecord.cs
- StrokeNodeEnumerator.cs
- IconHelper.cs
- SeparatorAutomationPeer.cs
- ChineseLunisolarCalendar.cs
- Command.cs
- TrackingMemoryStream.cs
- Site.cs
- KoreanLunisolarCalendar.cs
- EnglishPluralizationService.cs
- ProcessHostFactoryHelper.cs
- DbConnectionPoolIdentity.cs
- TypeNameParser.cs
- VectorAnimationUsingKeyFrames.cs
- ImpersonationContext.cs
- AvTraceDetails.cs
- InvalidDataException.cs
- TextServicesCompartmentContext.cs
- InfiniteTimeSpanConverter.cs
- DataObjectMethodAttribute.cs
- ReadingWritingEntityEventArgs.cs
- RegexRunnerFactory.cs
- SecureStringHasher.cs
- RadioButtonPopupAdapter.cs
- HttpRawResponse.cs
- SecurityPolicySection.cs
- PasswordRecoveryAutoFormat.cs
- AttributeUsageAttribute.cs
- ChannelServices.cs
- _BaseOverlappedAsyncResult.cs
- DataView.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- ImportCatalogPart.cs
- PenContexts.cs
- DeploymentSectionCache.cs
- EntityConnectionStringBuilder.cs
- XmlSchemaNotation.cs
- NonVisualControlAttribute.cs
- HelpKeywordAttribute.cs
- Exception.cs
- ImageList.cs
- GenericRootAutomationPeer.cs
- DesignerDataTableBase.cs
- FormViewDeletedEventArgs.cs
- FrameworkContentElement.cs
- DynamicUpdateCommand.cs
- PeerNameResolver.cs
- Odbc32.cs
- SqlClientWrapperSmiStream.cs
- StoreAnnotationsMap.cs
- BufferedWebEventProvider.cs
- InstanceOwnerException.cs
- DPAPIProtectedConfigurationProvider.cs
- Transform3D.cs
- DBConcurrencyException.cs
- IntSecurity.cs
- DataGridPageChangedEventArgs.cs
- XPathQilFactory.cs
- WebConfigurationManager.cs
- CopyCodeAction.cs
- ButtonBase.cs
- OracleRowUpdatingEventArgs.cs
- DebuggerAttributes.cs
- ControlIdConverter.cs
- OperatingSystem.cs
- DragDrop.cs
- SqlDataSourceDesigner.cs
- connectionpool.cs
- DataGridItem.cs
- _NegoState.cs
- SchemaImporterExtensionElement.cs
- SymmetricAlgorithm.cs
- PropertyGridView.cs
- SystemTcpStatistics.cs
- UpDownEvent.cs