Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.javax.crypto.assembly: Javadoc index of package gnu.javax.crypto.assembly.


Package Samples:

gnu.javax.crypto.assembly

Classes:

Transformer: A Transformer is an abstract representation of a two-way transformation that can be chained together with other instances of this type. Examples of such transformations in this library are: Cascade cipher, gnu.crypto.pad.IPad algorithm, and a ZLib-based deflater/inflater algorithm. A special implementation of a Transformer to close a chain is also provided. A Transformer is characterised by the followings: It can be chained to other instances, to form an Assembly . When configured in an Assembly , it can be set to apply its internal transformation on the input data stream before (pre-processing) ...
Stage: A Stage in a Cascade Cipher. Each stage may be either an implementation of a Block Cipher Mode of Operation ( gnu.javax.crypto.mode.IMode ) or another Cascade Cipher ( Cascade ). Each stage has also a natural operational direction when constructed for inclusion within a Cascade . This natural direction dictates how data flows from one stage into another when stages are chained together in a cascade. One can think of a stage and its natural direction as the specification of how to wire the stage into the chain. The following diagrams may help understand the paradigme. The first shows two stages ...
DeflateTransformer: A Transformer Adapter allowing inclusion of a DEFLATE compression algorithm in an Assembly chain. The Direction.FORWARD 55 transformation is a compression (deflate) of input data, while the Direction.REVERSED 55 one is a decompression (inflate) that restores the original data. This Transformer uses a java.util.zip.Deflater instance to carry on the compression, and an java.util.zip.Inflater to do the decompression. When using such a Transformer , in an Assembly , there must be at least one element behind this instance in the constructed chain; otherwise, a TransformerException is thrown at initialisation ...
Cascade: A Cascade Cipher is the concatenation of two or more block ciphers each with independent keys. Plaintext is input to the first stage; the output of stage i is input to stage i + 1 ; and the output of the last stage is the Cascade 's ciphertext output. In the simplest case, all stages in a Cascade have k -bit keys, and the stage inputs and outputs are all n-bit quantities. The stage ciphers may differ (general cascade of ciphers), or all be identical (cascade of identical ciphers). The term "block ciphers" used above refers to implementations of gnu.crypto.mode.IMode , including the gnu.crypto.mode.ECB ...
PaddingTransformer: An Adapter to use any gnu.javax.crypto.pad.IPad as a Transformer in an Assembly . When using such a Transformer , in an Assembly , there must be at least one element behind this instance in the constructed chain; otherwise, a TransformerException is thrown at initialisation time.
Operation: An enumeration type for specifying the operation type of a Transformer . The possible values for this type are two: PRE_PROCESSING: where the input data is first processed by the current Transformer before being passed to the rest of the chain; and POST_PROCESSING: where the input data is first passed to the rest of the chain, and the resulting bytes are then processed by the current Transformer .
Direction: An enumeration type for wiring Stage instances into Cascade Cipher chains, as well as for operating a Cascade in a given direction. The possible values for this type are two: FORWARD: equivalent to gnu.crypto.mode.IMode#ENCRYPTION , and its inverse value REVERSED: equivalent to gnu.crypto.mode.IMode#DECRYPTION .
Assembly: An Assembly is a construction consisting of a chain of Transformer elements; each wired in pre- or post- transformation mode. This chain is terminated by one LoopbackTransformer element. Once constructed, and correctly initialised, the bulk of the methods available on the Assembly are delegated to the head of the Transformer chain of the Assembly .
ModeStage: An gnu.javax.crypto.mode.IMode Stage in a Cascade Cipher chain. Such a stage wraps an implementation of a Block Cipher Mode of Operation ( gnu.javax.crypto.mode.IMode ) to allow inclusion of such an instance in a cascade of block ciphers.
CascadeTransformer: An Adapter to use any Cascade as a Transformer in an Assembly .
LoopbackTransformer: A trivial Transformer to allow closing a chain in an Assembly . This class is not visible outside this package.
CascadeStage: A Cascade Stage in a Cascade Cipher.
TransformerException

Home | Contact Us | Privacy Policy | Terms of Service