Skip to main content

EncryptedImmutable

Trait EncryptedImmutable 

Source
pub trait EncryptedImmutable {
    // Required methods
    fn get_total_blocks(&self) -> usize;
    fn get_block(&self, index: usize) -> &[u8] ;
}
Expand description

Specification of how to access all ciphertext, whcih are stored in blocks.

Required Methods§

Source

fn get_total_blocks(&self) -> usize

Source

fn get_block(&self, index: usize) -> &[u8]

Implementors§