com.github.cloudfiles.crypt.service
Members list
Type members
Classlikes
object CryptService
A module offering functionality related to cryptographic operations.
A module offering functionality related to cryptographic operations.
The functions provided by this service simplify the usage of a CryptStage to encrypt or decrypt data obtained from different sources.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CryptService.type
class CryptStage(val cryptCipher: CryptCipher)(implicit random: SecureRandom) extends GraphStage[FlowShape[ByteString, ByteString]]
A flow stage to transform data using a CryptCipher.
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
- Supertypes
-
class GraphStage[FlowShape[ByteString, ByteString]]class GraphStageWithMaterializedValue[FlowShape[ByteString, ByteString], NotUsed]trait Graph[FlowShape[ByteString, ByteString], NotUsed]class Objecttrait Matchableclass AnyShow all
In this article