Introduce the `encrypted_data_source` class that wraps an existing data source to read and decrypt data on the fly using block encryption. Also add unit tests to verify correct decryption behavior. NOTE: The wrapped source MUST read from offset 0, `encrypted_data_source` assumes it is Co-authored-by: Calle Wilund <calle@scylladb.com>
20 KiB
20 KiB