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
- AssemblyInfo.cs
- ScriptServiceAttribute.cs
- TripleDESCryptoServiceProvider.cs
- ReadWriteControlDesigner.cs
- ReadOnlyTernaryTree.cs
- PropertyOverridesDialog.cs
- ImageCollectionEditor.cs
- DispatcherEventArgs.cs
- WebServiceParameterData.cs
- ClientSettings.cs
- ContextDataSourceContextData.cs
- Semaphore.cs
- _IPv4Address.cs
- X509SubjectKeyIdentifierClause.cs
- ApplicationHost.cs
- VarRemapper.cs
- _CookieModule.cs
- ToolStripDropDownItem.cs
- BidPrivateBase.cs
- DataContractJsonSerializer.cs
- FunctionUpdateCommand.cs
- SecondaryIndex.cs
- PolicyChain.cs
- HttpWriter.cs
- SessionPageStateSection.cs
- PtsPage.cs
- MemberExpression.cs
- HttpCapabilitiesBase.cs
- PropertyTabChangedEvent.cs
- XPathAncestorIterator.cs
- AppDomainFactory.cs
- BindingCollection.cs
- LoginView.cs
- ColumnMapCopier.cs
- WizardPanel.cs
- SelectionUIHandler.cs
- Native.cs
- TiffBitmapEncoder.cs
- Inline.cs
- CodeMemberField.cs
- WrappedReader.cs
- CoTaskMemUnicodeSafeHandle.cs
- VideoDrawing.cs
- XmlWriterSettings.cs
- MarshalByRefObject.cs
- _ChunkParse.cs
- TemplateBindingExpressionConverter.cs
- SoapServerMessage.cs
- XmlText.cs
- ActivityBindForm.cs
- ControlBuilderAttribute.cs
- DynamicDataRouteHandler.cs
- ListViewItemEventArgs.cs
- HitTestParameters.cs
- ScalarOps.cs
- CallTemplateAction.cs
- IconBitmapDecoder.cs
- File.cs
- EventLogPermissionAttribute.cs
- TreeNodeCollectionEditorDialog.cs
- FromRequest.cs
- APCustomTypeDescriptor.cs
- DelayedRegex.cs
- Point3D.cs
- BaseTemplateParser.cs
- PolyBezierSegment.cs
- BufferedGraphicsContext.cs
- List.cs
- DoubleStorage.cs
- TextEditorSpelling.cs
- TogglePatternIdentifiers.cs
- GridViewRowPresenter.cs
- BaseConfigurationRecord.cs
- AnonymousIdentificationModule.cs
- FormParameter.cs
- RegexRunner.cs
- InputScopeConverter.cs
- UserControlAutomationPeer.cs
- TextureBrush.cs
- TextServicesPropertyRanges.cs
- FactoryId.cs
- XmlKeywords.cs
- ItemChangedEventArgs.cs
- NavigationEventArgs.cs
- ISessionStateStore.cs
- UpDownEvent.cs
- ExpressionWriter.cs
- Crypto.cs
- URLString.cs
- RMEnrollmentPage1.cs
- Pkcs7Signer.cs
- AuthenticationModulesSection.cs
- Invariant.cs
- XmlSchemaDocumentation.cs
- X509IssuerSerialKeyIdentifierClause.cs
- FormatterServices.cs
- DateTimeUtil.cs
- SpStreamWrapper.cs
- ErrorTolerantObjectWriter.cs
- DataServiceBehavior.cs