diff --git a/steganodf/algorithms/bitpool.py b/steganodf/algorithms/bitpool.py index 443acfc..9e31756 100644 --- a/steganodf/algorithms/bitpool.py +++ b/steganodf/algorithms/bitpool.py @@ -135,6 +135,11 @@ def split_by_separator(self, hash: List[int], separator: List[int]) -> List[int] return results + def find_packet(self, df: pl.DataFrame, max_window=100) -> Tuple[int, int, int]: + + new_df = self.compute_hash(df) + hash = new_df["hash"].to_list() + # def mask_separator(self, data: bytes) -> bytes: # """ # Mask separator symbol by replacing it by 2 new bytes A,B.