Enum present::OpMode [] [src]

pub enum OpMode {
    ECB,
    CBC,
}

Enum representing block cipher modes of operation.

Variants

Electronic Code Book (unsafe). Does not require an initialization vector.

Cipher Block Chaining. Requires an initialization vector.