pub trait StreamCipherSeekCore: StreamCipherCore {
    type Counter: Counter;

    fn get_block_pos(&self) -> Self::Counter;
    fn set_block_pos(&mut self, pos: Self::Counter);
}
Expand description

Block-level seeking trait for stream ciphers.

Required Associated Types§

Counter type used inside stream cipher.

Required Methods§

Get current block position.

Set block position.

Implementors§