The Cast5Managed type exposes the following members.

Methods

  NameDescription
Public methodClear
Releases all resources used by the SymmetricAlgorithm class.
(Inherited from SymmetricAlgorithm.)
Public methodCreateDecryptor()()()()
Creates a symmetric decryptor object with the current Key property and initialization vector (IV).
(Inherited from SymmetricAlgorithm.)
Public methodCreateDecryptor(array<Byte>[]()[][], array<Byte>[]()[][])
Creates a symmetric decryptor object with the specified Key property and initialization vector (IV).
(Overrides SymmetricAlgorithm..::..CreateDecryptor(array<Byte>[]()[][], array<Byte>[]()[][]).)
Public methodCreateEncryptor()()()()
Creates a symmetric encryptor object with the current Key property and initialization vector (IV).
(Inherited from SymmetricAlgorithm.)
Public methodCreateEncryptor(array<Byte>[]()[][], array<Byte>[]()[][])
Creates a symmetric encryptor object with the specified Key property and initialization vector (IV).
(Overrides SymmetricAlgorithm..::..CreateEncryptor(array<Byte>[]()[][], array<Byte>[]()[][]).)
Public methodDispose()()()()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources.
(Overrides SymmetricAlgorithm..::..Dispose(Boolean).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the Cast5Managed is reclaimed by garbage collection.
(Overrides Object..::..Finalize()()()().)
Public methodGenerateIV
Generates a random initialization vector (IV) to use for the algorithm.
(Overrides SymmetricAlgorithm..::..GenerateIV()()()().)
Public methodGenerateKey
Generates a random key (Key) to use for the algorithm.
(Overrides SymmetricAlgorithm..::..GenerateKey()()()().)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTransformBlock
Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array.
Public methodTransformFinalBlock
Transforms the specified region of the specified byte array.
Public methodValidKeySize
Determines whether the specified key size is valid for the current algorithm.
(Inherited from SymmetricAlgorithm.)

See Also