diff --git a/sources/stegano/stegano.py b/sources/stegano/stegano.py index baa4274..ed6b58e 100644 --- a/sources/stegano/stegano.py +++ b/sources/stegano/stegano.py @@ -28,6 +28,7 @@ def by_chunk(iterable, size, fillvalue=0): yield chunk chunk = [] + def set_bit(old_byte, new_bit): b = list(bin(old_byte)) b[-1] = str(new_bit)