Cryptosync is tool which makes compressed and encrypted incremental backups. That way one can efficiently copy the files to an other location with normal rsync. Not only the filecontents is encrypted, also the filename, mode, owner and groupinformation are stored encrypted.
How it works
Normally when you want to copy a backup to an off-site location, you would make a large tar-file, compress it and then encrypt it. Problem with this is that you have to copy the whole file when only a single file in the tarfile has changed.
Cryptosync instead compresses and encrypts each individual file and copies it to an other location but only the files that have changed. This way, one can use the standard rsync which then will only copy the files that have changed.
The blowfish algorithm is used. For each file the ivec is filled with 8 random bytes (which are stored in the output-file) and the key is set to the password. Before encryption the file is compressed with bzip2.