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 CipherParamsDefines important crypto constants used in the application. CipherSessionThe cipher session is used by the
MultiCipherInputStreamto reference the application's master key, and to temporarily store and retrieve derived secret keys.
CipherSpecA cipher spec represents the definition of a cipher/encryption algorithm and the corresponding settings required to instantiate a new cipher object. CipherSpecsDefines and identifies the application supported
CipherUtilThe cipher utility provides functions to create a master key using PBKDF2, a derived key using SHA256, and to create a
Cipherfrom a derived key.
MultiCipherInputStream MultiCipherOutputStreamImplements an output stream that encrypts the underlying output stream using one to many ciphers. SaltedSecretKeyA salted secret key is a convenience class to bundle a
SecretKeywith its corresponding salt.
SaltedSecretKeyConverterConverter to properly encode a
SaltedSecretKeywhen writing an XML.
Exception Summary Exception Description CipherExceptionException thrown when content cannot encrypted or decrypted, or other cryptographic operations fail.