Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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); } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObjectQuery_EntitySqlExtensions.cs
- SmiMetaDataProperty.cs
- MembershipValidatePasswordEventArgs.cs
- PropertyToken.cs
- DocumentSchemaValidator.cs
- InputElement.cs
- _NegotiateClient.cs
- SymbolType.cs
- WebPartHeaderCloseVerb.cs
- PathBox.cs
- DbMetaDataFactory.cs
- XmlILOptimizerVisitor.cs
- IFormattable.cs
- CommandBindingCollection.cs
- CqlParser.cs
- AppDomainProtocolHandler.cs
- FacetChecker.cs
- OleDbDataReader.cs
- Decimal.cs
- SqlCharStream.cs
- _UriSyntax.cs
- ListMarkerSourceInfo.cs
- GuidConverter.cs
- SqlDataSource.cs
- SqlUserDefinedAggregateAttribute.cs
- Binding.cs
- Expander.cs
- NoPersistProperty.cs
- XmlSchemas.cs
- PropertyDescriptor.cs
- GroupQuery.cs
- GridViewDeleteEventArgs.cs
- HttpGetProtocolReflector.cs
- StringStorage.cs
- EncoderReplacementFallback.cs
- TrackingStringDictionary.cs
- _OSSOCK.cs
- SystemWebExtensionsSectionGroup.cs
- InputScope.cs
- JoinTreeSlot.cs
- VisualBrush.cs
- QilInvokeEarlyBound.cs
- UserMapPath.cs
- WindowsFont.cs
- PartialCachingAttribute.cs
- LinkUtilities.cs
- UIElementParaClient.cs
- SqlTypesSchemaImporter.cs
- KeyConverter.cs
- HandlerBase.cs
- ConnectorSelectionGlyph.cs
- Stream.cs
- GC.cs
- SessionViewState.cs
- LocalizableResourceBuilder.cs
- TdsRecordBufferSetter.cs
- COM2ExtendedTypeConverter.cs
- FlowDocumentPageViewerAutomationPeer.cs
- FixUpCollection.cs
- QilInvoke.cs
- EntityDataSourceChangedEventArgs.cs
- ConnectivityStatus.cs
- ControlCachePolicy.cs
- Misc.cs
- PersonalizationEntry.cs
- XmlSerializerAssemblyAttribute.cs
- PnrpPeerResolverElement.cs
- GetReadStreamResult.cs
- assertwrapper.cs
- HierarchicalDataBoundControl.cs
- XmlSiteMapProvider.cs
- TimeoutTimer.cs
- UrlMappingsSection.cs
- EntityCollection.cs
- PresentationUIStyleResources.cs
- ChannelManager.cs
- SpeechAudioFormatInfo.cs
- HttpProfileBase.cs
- DesignerLabelAdapter.cs
- TextUtf8RawTextWriter.cs
- JoinSymbol.cs
- XmlToDatasetMap.cs
- DocumentXmlWriter.cs
- BulletChrome.cs
- SortedList.cs
- WebHttpSecurityModeHelper.cs
- ResourceSetExpression.cs
- XmlSiteMapProvider.cs
- MethodSignatureGenerator.cs
- TemplateBindingExtension.cs
- ScrollChangedEventArgs.cs
- DataControlLinkButton.cs
- AttachedAnnotationChangedEventArgs.cs
- CharAnimationBase.cs
- HashCryptoHandle.cs
- MarkupCompilePass1.cs
- COM2IDispatchConverter.cs
- ImageSourceConverter.cs
- MenuItemCollection.cs
- ZipIOExtraFieldPaddingElement.cs