DOFCipher ClassOpenDOF Object Access Library
A block cipher algorithm implementation.
Inheritance Hierarchy

SystemObject
  org.opendof.core.oal.securityDOFCipher

Namespace: org.opendof.core.oal.security
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public abstract class DOFCipher

The DOFCipher type exposes the following members.

Constructors

  NameDescription
Protected methodDOFCipher
Initializes a new instance of the DOFCipher class
Top
Methods

  NameDescription
Public methodStatic memberaddFactory
Add a block cipher factory to the library.
Public methodStatic membercreate
Create a block cipher for the given algorithm, strength, and key.
Public methoddecrypt
Decrypt a block of data.
Public methodencrypt
Encrypt a block of data.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodgetBlockSize
The required block size for this cipher algorithm.
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.)
Top
Remarks

A block cipher algorithm implementation. This class contains the information and functions necessary to access a generic block cipher. It can be extended and created by a Factory implementation to provide a custom implementation of encryption. All encryption and decryption is handled as a single block at a time (of the cipher's block size).
See Also

Reference