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
- TextCompositionEventArgs.cs
- MenuItem.cs
- BindingRestrictions.cs
- ResolveResponse.cs
- PartialCachingAttribute.cs
- brushes.cs
- TdsParserHelperClasses.cs
- AddingNewEventArgs.cs
- GeneralTransform2DTo3D.cs
- SplayTreeNode.cs
- IisTraceListener.cs
- MarkupProperty.cs
- RowUpdatingEventArgs.cs
- XPathDocumentBuilder.cs
- ReliableInputConnection.cs
- RequestNavigateEventArgs.cs
- DataGridCaption.cs
- Compiler.cs
- TargetConverter.cs
- ClientApiGenerator.cs
- _SingleItemRequestCache.cs
- Transform3D.cs
- TabletDevice.cs
- BrowserTree.cs
- SecureUICommand.cs
- DBSchemaRow.cs
- ColorTranslator.cs
- GridViewCommandEventArgs.cs
- HttpDigestClientElement.cs
- ConnectionOrientedTransportBindingElement.cs
- FontFamily.cs
- MembershipValidatePasswordEventArgs.cs
- CodeGenerator.cs
- SafeReadContext.cs
- CodeGen.cs
- Setter.cs
- SharedPerformanceCounter.cs
- recordstate.cs
- Debugger.cs
- Visitor.cs
- GenericRootAutomationPeer.cs
- MiniConstructorInfo.cs
- HtmlLink.cs
- BatchWriter.cs
- XmlNodeChangedEventManager.cs
- CounterSetInstance.cs
- CodeMemberEvent.cs
- SystemFonts.cs
- EdmMember.cs
- PeerCollaboration.cs
- ApplicationTrust.cs
- TemplateControl.cs
- ChildDocumentBlock.cs
- DiagnosticTrace.cs
- WindowsFormsSectionHandler.cs
- DataSourceControlBuilder.cs
- Propagator.ExtentPlaceholderCreator.cs
- SQLInt16Storage.cs
- XmlElement.cs
- UnsignedPublishLicense.cs
- WorkflowInstanceExtensionCollection.cs
- COM2ExtendedUITypeEditor.cs
- Partitioner.cs
- MemoryPressure.cs
- RecordManager.cs
- StaticDataManager.cs
- ScriptServiceAttribute.cs
- RenderTargetBitmap.cs
- InputManager.cs
- Rule.cs
- AuthenticationManager.cs
- ProbeMatchesMessage11.cs
- TextServicesDisplayAttributePropertyRanges.cs
- TcpClientSocketManager.cs
- CollectionMarkupSerializer.cs
- SafeMarshalContext.cs
- CollectionViewSource.cs
- AssemblyInfo.cs
- EtwTrace.cs
- GridViewCommandEventArgs.cs
- TypeUtils.cs
- WebPartConnection.cs
- WebScriptMetadataFormatter.cs
- InheritablePropertyChangeInfo.cs
- streamingZipPartStream.cs
- RectangleConverter.cs
- Table.cs
- AxHost.cs
- ToolboxItemSnapLineBehavior.cs
- ListViewInsertEventArgs.cs
- GridViewRowCollection.cs
- HostingPreferredMapPath.cs
- SqlMethodAttribute.cs
- ListViewSelectEventArgs.cs
- CancellationTokenRegistration.cs
- BooleanAnimationUsingKeyFrames.cs
- Baml2006ReaderContext.cs
- EventLogPermissionAttribute.cs
- ResourcesBuildProvider.cs
- DWriteFactory.cs