The Twofish type exposes the following members.

Constructors

  NameDescription
Protected methodSupported by the .NET Compact FrameworkTwofish
Initializes a new instance of Twofish.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkClear
Releases all resources used by the SymmetricAlgorithm class.
(Inherited from SymmetricAlgorithm.)
Public methodStatic memberSupported by the .NET Compact FrameworkCreate
Creates a cryptographic object to perform the Schneier's Twofish algorithm.
Public methodSupported by the .NET Compact FrameworkCreateDecryptor()()()()
Creates a symmetric decryptor object with the current Key property and initialization vector (IV).
(Inherited from SymmetricAlgorithm.)
Public methodSupported by the .NET Compact FrameworkCreateDecryptor(array<Byte>[]()[][], array<Byte>[]()[][])
When overridden in a derived class, creates a symmetric decryptor object with the specified Key property and initialization vector (IV).
(Inherited from SymmetricAlgorithm.)
Public methodSupported by the .NET Compact FrameworkCreateEncryptor()()()()
Creates a symmetric encryptor object with the current Key property and initialization vector (IV).
(Inherited from SymmetricAlgorithm.)
Public methodSupported by the .NET Compact FrameworkCreateEncryptor(array<Byte>[]()[][], array<Byte>[]()[][])
When overridden in a derived class, creates a symmetric encryptor object with the specified Key property and initialization vector (IV).
(Inherited from SymmetricAlgorithm.)
Public methodSupported by the .NET Compact FrameworkDispose()()()() (Inherited from SymmetricAlgorithm.)
Protected methodSupported by the .NET Compact FrameworkDispose(Boolean)
Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources.
(Inherited from SymmetricAlgorithm.)
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGenerateIV
When overridden in a derived class, generates a random initialization vector (IV) to use for the algorithm.
(Inherited from SymmetricAlgorithm.)
Public methodSupported by the .NET Compact FrameworkGenerateKey
When overridden in a derived class, generates a random key (Key) to use for the algorithm.
(Inherited from SymmetricAlgorithm.)
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkValidKeySize
Determines whether the specified key size is valid for the current algorithm.
(Inherited from SymmetricAlgorithm.)

Fields

  NameDescription
Protected fieldSupported by the .NET Compact FrameworkBlockSizeValue
Represents the block size, in bits, of the cryptographic operation.
(Inherited from SymmetricAlgorithm.)
Protected fieldSupported by the .NET Compact FrameworkFeedbackSizeValue
Represents the feedback size, in bits, of the cryptographic operation.
(Inherited from SymmetricAlgorithm.)
Protected fieldSupported by the .NET Compact FrameworkIVValue
Represents the initialization vector (IV) for the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)
Protected fieldSupported by the .NET Compact FrameworkKeySizeValue
Represents the size, in bits, of the secret key used by the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)
Protected fieldSupported by the .NET Compact FrameworkKeyValue
Represents the secret key for the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)
Protected fieldSupported by the .NET Compact FrameworkLegalBlockSizesValue
Specifies the block sizes that are supported by the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)
Protected fieldSupported by the .NET Compact FrameworkLegalKeySizesValue
Specifies the key sizes that are supported by the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)
Protected fieldSupported by the .NET Compact FrameworkModeValue
Represents the cipher mode used in the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)
Protected fieldSupported by the .NET Compact FrameworkPaddingValue
Represents the padding mode used in the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkBlockSize
Gets or sets the block size, in bits, of the cryptographic operation.
(Inherited from SymmetricAlgorithm.)
Public propertySupported by the .NET Compact FrameworkFeedbackSize
Gets or sets the feedback size, in bits, of the cryptographic operation.
(Inherited from SymmetricAlgorithm.)
Public propertySupported by the .NET Compact FrameworkIV
Gets or sets the initialization vector (IV) for the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)
Public propertySupported by the .NET Compact FrameworkKey
Gets or sets the secret key for the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)
Public propertySupported by the .NET Compact FrameworkKeySize
Gets or sets the size, in bits, of the secret key used by the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)
Public propertySupported by the .NET Compact FrameworkLegalBlockSizes
Gets the block sizes that are supported by the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)
Public propertySupported by the .NET Compact FrameworkLegalKeySizes
Gets the key sizes that are supported by the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)
Public propertySupported by the .NET Compact FrameworkMode
Gets or sets the mode for operation of the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)
Public propertySupported by the .NET Compact FrameworkPadding
Gets or sets the padding mode used in the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)

See Also