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
- MaxSessionCountExceededException.cs
- RoamingStoreFile.cs
- ExceptionHelpers.cs
- ValidationPropertyAttribute.cs
- SmtpReplyReader.cs
- NameTable.cs
- RadioButtonStandardAdapter.cs
- SafeSystemMetrics.cs
- Mapping.cs
- ExpressionTable.cs
- EventLevel.cs
- IItemContainerGenerator.cs
- Speller.cs
- IsolatedStorageSecurityState.cs
- EntityDataSourceWizardForm.cs
- _Semaphore.cs
- WebPartHeaderCloseVerb.cs
- RelOps.cs
- DeferrableContentConverter.cs
- InternalDispatchObject.cs
- loginstatus.cs
- DbProviderFactoriesConfigurationHandler.cs
- Visual.cs
- ConfigsHelper.cs
- DataBindEngine.cs
- MouseEvent.cs
- XmlNamespaceMapping.cs
- DropShadowEffect.cs
- LicFileLicenseProvider.cs
- PhonemeEventArgs.cs
- ConsoleCancelEventArgs.cs
- SEHException.cs
- XpsFilter.cs
- CodeValidator.cs
- FormatConvertedBitmap.cs
- ObjectSet.cs
- CssTextWriter.cs
- PackUriHelper.cs
- WebPartZoneAutoFormat.cs
- CodeVariableDeclarationStatement.cs
- PowerModeChangedEventArgs.cs
- SymbolEqualComparer.cs
- ISAPIApplicationHost.cs
- DeflateEmulationStream.cs
- ChannelEndpointElementCollection.cs
- ToggleProviderWrapper.cs
- Base64Decoder.cs
- StringConverter.cs
- _HeaderInfo.cs
- HasRunnableWorkflowEvent.cs
- BoolExpression.cs
- ScriptRegistrationManager.cs
- JsonGlobals.cs
- RestClientProxyHandler.cs
- Geometry.cs
- MarkupExtensionSerializer.cs
- HandlerBase.cs
- ResourcesGenerator.cs
- ListArgumentProvider.cs
- ComplexPropertyEntry.cs
- TaiwanLunisolarCalendar.cs
- XmlLangPropertyAttribute.cs
- AllMembershipCondition.cs
- MarshalDirectiveException.cs
- HwndSourceKeyboardInputSite.cs
- SchemaName.cs
- TreeNodeConverter.cs
- CheckableControlBaseAdapter.cs
- ComponentChangedEvent.cs
- TextPatternIdentifiers.cs
- StatusBar.cs
- Parsers.cs
- StructuralObject.cs
- Semaphore.cs
- ModuleElement.cs
- ObjectDataSourceMethodEventArgs.cs
- FileEnumerator.cs
- ClientViaElement.cs
- Oid.cs
- LinqDataSource.cs
- SettingsBase.cs
- ScriptingProfileServiceSection.cs
- PhysicalAddress.cs
- Helper.cs
- EntityAdapter.cs
- TaiwanCalendar.cs
- XmlDataSourceView.cs
- WebPartConnectVerb.cs
- MatrixValueSerializer.cs
- CommonDialog.cs
- ConsumerConnectionPoint.cs
- SafeBitVector32.cs
- DataRow.cs
- JsonDataContract.cs
- QilTargetType.cs
- TypeValidationEventArgs.cs
- DictionaryBase.cs
- XmlWrappingReader.cs
- InternalMappingException.cs
- XmlSchemaGroupRef.cs