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
- TextPenaltyModule.cs
- PropagatorResult.cs
- cryptoapiTransform.cs
- FontWeight.cs
- TemplateBamlRecordReader.cs
- Animatable.cs
- PerformanceCounter.cs
- PeerToPeerException.cs
- EntityCommandDefinition.cs
- ParameterRetriever.cs
- ExeContext.cs
- TreeIterators.cs
- EmbeddedMailObjectCollectionEditor.cs
- LinqDataSourceDisposeEventArgs.cs
- SQLInt32.cs
- MessageEnumerator.cs
- DropShadowBitmapEffect.cs
- SharedTcpTransportManager.cs
- ActivationArguments.cs
- Wizard.cs
- DesignerTransaction.cs
- COM2PropertyDescriptor.cs
- InputLanguage.cs
- Scene3D.cs
- Perspective.cs
- RichTextBox.cs
- StoreAnnotationsMap.cs
- ApplicationDirectory.cs
- login.cs
- HuffModule.cs
- DelegateTypeInfo.cs
- Nullable.cs
- CodeMemberField.cs
- SessionStateItemCollection.cs
- SiteMapNodeItemEventArgs.cs
- HttpApplication.cs
- ClientEventManager.cs
- HtmlHead.cs
- MachineKeyConverter.cs
- SmtpAuthenticationManager.cs
- ToolStripDropTargetManager.cs
- RightNameExpirationInfoPair.cs
- TdsEnums.cs
- Int16Storage.cs
- IImplicitResourceProvider.cs
- ImageButton.cs
- BitmapEffectGeneralTransform.cs
- WeakHashtable.cs
- ImageMapEventArgs.cs
- SerializationInfo.cs
- FloaterParaClient.cs
- CreatingCookieEventArgs.cs
- TextClipboardData.cs
- Utility.cs
- SecurityProtocol.cs
- Canvas.cs
- GeometryDrawing.cs
- FileCodeGroup.cs
- BaseComponentEditor.cs
- Latin1Encoding.cs
- ImportContext.cs
- _LocalDataStore.cs
- GridItem.cs
- WmlControlAdapter.cs
- JsonStringDataContract.cs
- ComPlusSynchronizationContext.cs
- ExclusiveTcpListener.cs
- GridToolTip.cs
- AsymmetricKeyExchangeDeformatter.cs
- DataColumnCollection.cs
- InternalDispatchObject.cs
- FileLogRecordHeader.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- CompilationUtil.cs
- SerTrace.cs
- RelatedPropertyManager.cs
- StrokeNodeOperations2.cs
- NullReferenceException.cs
- BitmapEffect.cs
- SignatureToken.cs
- SQLInt32Storage.cs
- Point.cs
- FormViewDeletedEventArgs.cs
- EncodingTable.cs
- PriorityQueue.cs
- TableSectionStyle.cs
- SystemKeyConverter.cs
- Context.cs
- StandardCommandToolStripMenuItem.cs
- ErrorFormatter.cs
- UserMapPath.cs
- CharAnimationUsingKeyFrames.cs
- DefaultValueConverter.cs
- FixedSOMFixedBlock.cs
- NavigatorInput.cs
- InitializationEventAttribute.cs
- MailDefinition.cs
- CleanUpVirtualizedItemEventArgs.cs
- ProjectionCamera.cs
- CheckBoxFlatAdapter.cs