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
- ZipArchive.cs
- AdRotator.cs
- sortedlist.cs
- DataSourceControlBuilder.cs
- XMLSyntaxException.cs
- FlowLayout.cs
- MenuItemAutomationPeer.cs
- MouseActionValueSerializer.cs
- HtmlTable.cs
- GifBitmapEncoder.cs
- AsymmetricKeyExchangeDeformatter.cs
- CheckBoxBaseAdapter.cs
- WebPartConnectionsCancelVerb.cs
- OracleInfoMessageEventArgs.cs
- WinFormsSecurity.cs
- EventMetadata.cs
- KeyEvent.cs
- DataListCommandEventArgs.cs
- ResourceSet.cs
- VisualStateManager.cs
- BaseResourcesBuildProvider.cs
- DynamicDocumentPaginator.cs
- OleDbConnectionInternal.cs
- TextParagraphCache.cs
- ReflectionHelper.cs
- DataListItemEventArgs.cs
- ProcessHostConfigUtils.cs
- WindowsEditBoxRange.cs
- StatusBarAutomationPeer.cs
- PerformanceCounterPermission.cs
- HostedElements.cs
- QueryPrefixOp.cs
- TemplateControl.cs
- XmlSchemaSimpleTypeUnion.cs
- UnsafeNativeMethods.cs
- WindowsStartMenu.cs
- XmlSchemaExternal.cs
- MimePart.cs
- IteratorFilter.cs
- InternalPermissions.cs
- _OSSOCK.cs
- ComplexBindingPropertiesAttribute.cs
- ToolStripContentPanel.cs
- EmptyEnumerator.cs
- XmlIterators.cs
- NativeMethods.cs
- RoleGroup.cs
- ReferenceSchema.cs
- BaseParser.cs
- MultipartIdentifier.cs
- controlskin.cs
- FormsAuthenticationTicket.cs
- CommonGetThemePartSize.cs
- SmiGettersStream.cs
- BasePropertyDescriptor.cs
- NegotiateStream.cs
- AuthStoreRoleProvider.cs
- RawStylusInput.cs
- CheckBox.cs
- securitymgrsite.cs
- WebConfigurationHostFileChange.cs
- RemoteWebConfigurationHostServer.cs
- TextEditorContextMenu.cs
- ListViewGroup.cs
- NetworkInformationException.cs
- ErrorHandler.cs
- ControlAdapter.cs
- RegistrySecurity.cs
- CapacityStreamGeometryContext.cs
- ManipulationCompletedEventArgs.cs
- ChangeInterceptorAttribute.cs
- DateBoldEvent.cs
- TextTabProperties.cs
- ToolStripItemRenderEventArgs.cs
- UserControlDesigner.cs
- BaseTreeIterator.cs
- ProgressBarAutomationPeer.cs
- PathGeometry.cs
- Thickness.cs
- UTF7Encoding.cs
- CodeNamespaceImport.cs
- EmptyEnumerator.cs
- UIElementIsland.cs
- TCPListener.cs
- XmlSchemaSimpleContentExtension.cs
- XsltInput.cs
- SqlDataSource.cs
- Rules.cs
- WindowsHyperlink.cs
- DeflateStreamAsyncResult.cs
- RelatedView.cs
- FunctionParameter.cs
- TextParentUndoUnit.cs
- InputGestureCollection.cs
- DateTimeFormatInfo.cs
- XmlObjectSerializerWriteContext.cs
- CompilerGlobalScopeAttribute.cs
- SymbolDocumentGenerator.cs
- DataGridrowEditEndingEventArgs.cs
- dtdvalidator.cs