pub fn encrypt( key: &BackupKey, plain: &mut impl Read, out: &mut impl Write, ) -> Result<(String, u64)>
Encrypts everything plain yields into out; returns the SHA-256 of the plain content and its length.
plain
out