pub fn as_bkey(&self) -> [u8; 32] {
        let mut ctx = sha2::Sha256::new();
        ctx.update([self.data_saver() as u8]);
        ctx.update(self.chapter());
        ctx.update(self.image());
        ctx.finalize().into()
    }
/// Calculates a predicatable unqiue key for the chap_hash, image, saver combo
///
/// Essentially calculates the md5 hash of the chapter hash and image name together, taking
/// into account if the image is data-saver
Calculates a predicatable unqiue key for the chap_hash, image, saver combo
Essentially calculates the md5 hash of the chapter hash and image name together, taking
into account if the image is data-saver
Calculates a predicatable unqiue key for the chap_hash image saver combo Essentially calculates the md5 hash of the chapter hash and image name together taking into account if the image is data - saver
pub fn as_bkey(&self) -> [u8; 32] {
        let mut ctx = sha2::Sha256::new();
        ctx.update([self.data_saver() as u8]);
        ctx.update(self.chapter());
        ctx.update(self.image());
        ctx.finalize().into()
    }
pub fn as_bkey ( & self ) -> [ u8 ; 32 ] { let mut ctx = sha2 :: Sha256 :: new ( ) ; ctx . update ( [ self . data_saver ( ) as u8 ] ) ; ctx . update ( self . chapter ( ) ) ; ctx . update ( self . image ( ) ) ; ctx . finalize ( ) . into ( ) }
Calculates a predicatable unqiue key for the chap_hash, image, saver combo
Essentially calculates the md5 hash of the chapter hash and image name together, taking
into account if the image is data-saver
Calculates a predicatable unqiue key for the chap_hash image saver combo Essentially calculates the md5 hash of the chapter hash and image name together taking into account if the image is data - saver
&self