Struct rclone_crypt::decrypter::Decrypter[][src]

pub struct Decrypter { /* fields omitted */ }
Expand description

Decrypter instance for a single file. This is not a managed reader; it must be assisted with a separate reader that passes it blocks of encrypted data of interest.

Implementations

Decrypts a block using the nonce and password state The block must be of max BLOCK_SIZE bytes; the final block in the file may be lower than this but otherwise block will be of that exact size.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.