com.github.cloudfiles.crypt.alg

Members list

Type members

Classlikes

A trait representing a concrete algorithm to encrypt and decrypt data.

A trait representing a concrete algorithm to encrypt and decrypt data.

The file systems supporting cryptography make use of this trait to actually encrypt and decrypt data. For this purpose, the trait provides functions to request a CryptCipher object for a cryptographic operation.

For some file system implementations, the size of files must be known before they can be uploaded. To provide this information when encrypting or decrypting the content of files dynamically during upload and download, a concrete algorithm implementation must be able to calculate the resulting size of data that is encrypted or decrypted.

Attributes

Supertypes
class Object
trait Matchable
class Any
trait CryptCipher

A trait defining a crypto operation that manipulates data (such as encryption or decryption).

A trait defining a crypto operation that manipulates data (such as encryption or decryption).

Implementations of this trait are used to encrypt or decrypt data making use of a concrete algorithm. An instance can be viewed as a representation of a ''Cypher'' in the Java crypto API. The functions provided by this trait are derived from the life-cycle of such an object: it is initialized, chunks of data are passed to it for being transformed, and there is a notification of the end of the sequence to be transformed. The rather stateful nature of this trait is due to the interaction schemes used by the underlying Java API.

Attributes

Supertypes
class Object
trait Matchable
class Any