Skip to content

Commit

Permalink
Fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
paw3lx committed Nov 3, 2023
1 parent 2ffad97 commit a323a08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/StegoCoreLib/Algorithms/IStegoAlgorithm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ public interface IStegoAlgorithm
byte[] Decode(Image<Rgba32> stegoImage, Settings settings = null);

int ReadSecretLength(Image<Rgba32> stegoImage, Settings settings = null);

bool IsEmbedPossible(Image<Rgba32> image, int secretLength);
}
1 change: 0 additions & 1 deletion src/StegoCoreLib/Algorithms/Lsb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public override Image<Rgba32> Embed(Image<Rgba32> baseImage, SecretData secret,
BitArray secretBits = secret.SecretWithLengthBits;
if (IsEmbedPossible(baseImage, secretBits.Length) == false)
throw new InvalidDataException("Secret data is to big for embending.");

Random random = GetRandomGenenator(settings);
int index = 0;
while (index < secretBits.Length)
Expand Down

0 comments on commit a323a08

Please sign in to comment.