Skip to content

First Release

Latest
Compare
Choose a tag to compare
@noctera noctera released this 23 Aug 08:52
· 49 commits to main since this release
f474a0a

Functions to encode and decode text from a png image with the "Least Significant Bit Manipulation" (LSB) Method

Example:

#include <CppSteg/Steganography.hpp>
#include <iostream>

int main() {
    // hiding secret message
    cppsteg::leastBit::encodeText("/path_to_input_image/input.png", "/path_to_output_image/output.png", "My secret Message");

    // decode message from manipulated picture
    std::cout << cppsteg::leastBit::decodeText("/path_to_manipulated_image/output.png") << std::endl;
}