CryptStage
A flow stage to transform data using a CryptCipher.
This class supports the transformation of data via a ''CryptCipher'' while it flows through a stream. The protocol of the cipher is invoked to make sure that the chunks of data are transformed correctly. That way even large sets of data can be transformed efficiently.
Value parameters
- cryptCipher
-
the object to transform the data in the stream
- random
-
the source for randomness
Attributes
- Graph
-
- Supertypes
-
class GraphStage[FlowShape[ByteString, ByteString]]class GraphStageWithMaterializedValue[FlowShape[ByteString, ByteString], NotUsed]trait Graph[FlowShape[ByteString, ByteString], NotUsed]class Objecttrait Matchableclass AnyShow all
Members list
Type members
Types
Definition of a processing function. The function expects a block of data and a cipher and produces a block of data to be passed downstream.
Definition of a processing function. The function expects a block of data and a cipher and produces a block of data to be passed downstream.
Attributes
Inherited types
Type-level accessor for the shape parameter of this graph.
Type-level accessor for the shape parameter of this graph.
Attributes
- Inherited from:
- Graph
Value members
Concrete methods
Attributes
- Definition Classes
-
GraphStage
Inherited methods
Add the given attributes to this Graph. If the specific attribute was already present on this graph this means the added attribute will be more specific than the existing one. If this Source is a composite of multiple graphs, new attributes on the composite will be less specific than attributes set directly on the individual graphs of the composite.
Add the given attributes to this Graph. If the specific attribute was already present on this graph this means the added attribute will be more specific than the existing one. If this Source is a composite of multiple graphs, new attributes on the composite will be less specific than attributes set directly on the individual graphs of the composite.
Attributes
- Inherited from:
- Graph
Put an asynchronous boundary around this Graph
Put an asynchronous boundary around this Graph
Value parameters
- dispatcher
-
Run the graph on this dispatcher
- inputBufferSize
-
Set the input buffer to this size for the graph
Attributes
- Inherited from:
- Graph
Put an asynchronous boundary around this Graph
Put an asynchronous boundary around this Graph
Value parameters
- dispatcher
-
Run the graph on this dispatcher
Attributes
- Inherited from:
- Graph
Put an asynchronous boundary around this Graph
Put an asynchronous boundary around this Graph
Attributes
- Inherited from:
- Graph
Attributes
- Definition Classes
-
GraphStage -> GraphStageWithMaterializedValue
- Inherited from:
- GraphStage
Attributes
- Inherited from:
- Graph
Attributes
- Inherited from:
- GraphStageWithMaterializedValue
Specifies the name of the Graph. If the name is null or empty the name is ignored, i.e. #none is returned.
Specifies the name of the Graph. If the name is null or empty the name is ignored, i.e. #none is returned.
Attributes
- Inherited from:
- Graph
Replace the attributes of this Flow with the given ones. If this Flow is a composite of multiple graphs, new attributes on the composite will be less specific than attributes set directly on the individual graphs of the composite.
Replace the attributes of this Flow with the given ones. If this Flow is a composite of multiple graphs, new attributes on the composite will be less specific than attributes set directly on the individual graphs of the composite.
Attributes
- Definition Classes
-
GraphStageWithMaterializedValue -> Graph
- Inherited from:
- GraphStageWithMaterializedValue
Concrete fields
The shape of a graph is all that is externally visible: its inlets and outlets.
The shape of a graph is all that is externally visible: its inlets and outlets.