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
- BasicBrowserDialog.cs
- X509Certificate.cs
- SqlDataSourceSummaryPanel.cs
- DirectoryObjectSecurity.cs
- TextParagraphProperties.cs
- DecoderExceptionFallback.cs
- CalendarDesigner.cs
- TextProperties.cs
- FormClosingEvent.cs
- DataPagerField.cs
- HMAC.cs
- CheckoutException.cs
- SymbolDocumentGenerator.cs
- errorpatternmatcher.cs
- ClientScriptItem.cs
- ExtensionSimplifierMarkupObject.cs
- GenericTypeParameterBuilder.cs
- StateManagedCollection.cs
- RunInstallerAttribute.cs
- __Error.cs
- SchemaMapping.cs
- ProxyElement.cs
- HtmlMobileTextWriter.cs
- XmlBinaryReader.cs
- MouseActionValueSerializer.cs
- View.cs
- TreeBuilder.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ApplicationDirectoryMembershipCondition.cs
- ListView.cs
- FieldNameLookup.cs
- ADConnectionHelper.cs
- WindowsListViewGroup.cs
- TrackingProfileCache.cs
- TCPClient.cs
- DesignerToolStripControlHost.cs
- VScrollBar.cs
- DataGridColumnHeaderCollection.cs
- FtpRequestCacheValidator.cs
- ResetableIterator.cs
- WindowsFormsSectionHandler.cs
- DataGridItemEventArgs.cs
- CodeGroup.cs
- CodeDomConfigurationHandler.cs
- SrgsGrammarCompiler.cs
- EdmFunctionAttribute.cs
- BufferCache.cs
- RegexCaptureCollection.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ColumnResizeUndoUnit.cs
- DataService.cs
- XmlUTF8TextReader.cs
- TypeReference.cs
- DigitShape.cs
- Rotation3DAnimationBase.cs
- ConfigurationElement.cs
- HTMLTagNameToTypeMapper.cs
- DocumentSequence.cs
- CmsInterop.cs
- ShaderRenderModeValidation.cs
- StrongNameMembershipCondition.cs
- PrintPreviewDialog.cs
- TCEAdapterGenerator.cs
- HierarchicalDataBoundControl.cs
- VisualStateManager.cs
- ProfilePropertyNameValidator.cs
- AppearanceEditorPart.cs
- AcceleratedTokenProvider.cs
- Range.cs
- DataListItem.cs
- XXXInfos.cs
- MessageContractImporter.cs
- UIntPtr.cs
- BasicCellRelation.cs
- WebPartDisplayMode.cs
- DataGridViewCellFormattingEventArgs.cs
- AsymmetricKeyExchangeDeformatter.cs
- PersonalizationProviderHelper.cs
- LoginStatusDesigner.cs
- VisualStyleTypesAndProperties.cs
- PageAdapter.cs
- TextHidden.cs
- AsymmetricSignatureDeformatter.cs
- VerificationException.cs
- XmlLinkedNode.cs
- SamlDelegatingWriter.cs
- SyndicationSerializer.cs
- DBCommandBuilder.cs
- HttpModuleCollection.cs
- CodeDomExtensionMethods.cs
- FixedSOMLineCollection.cs
- DrawListViewSubItemEventArgs.cs
- SecurityTimestamp.cs
- LogPolicy.cs
- WebPartConnectionsDisconnectVerb.cs
- ToolStripGripRenderEventArgs.cs
- MimeObjectFactory.cs
- Decoder.cs
- FileCodeGroup.cs
- CustomLineCap.cs