Package org.syncany.crypto
Provides classes for encryption/decryption of files and byte
streams. It implements the application's crypto concept.
- See Also:
- Syncany security concepts
-
Class Summary Class Description CipherParams Defines important crypto constants used in the application.CipherSession The cipher session is used by theMultiCipherOutputStream
and theMultiCipherInputStream
to reference the application's master key, and to temporarily store and retrieve derived secret keys.CipherSpec A cipher spec represents the definition of a cipher/encryption algorithm and the corresponding settings required to instantiate a new cipher object.CipherSpecs Defines and identifies the application supportedCipherSpec
s.CipherUtil The cipher utility provides functions to create a master key using PBKDF2, a derived key using SHA256, and to create aCipher
from a derived key.MultiCipherInputStream MultiCipherOutputStream Implements an output stream that encrypts the underlying output stream using one to many ciphers.SaltedSecretKey A salted secret key is a convenience class to bundle aSecretKey
with its corresponding salt.SaltedSecretKeyConverter Converter to properly encode aSaltedSecretKey
when writing an XML. -
Exception Summary Exception Description CipherException Exception thrown when content cannot encrypted or decrypted, or other cryptographic operations fail.