I'm writing a steganography app in c# that will hide an image and text covertly inside the least significant bits of a bitmap image. I'm trying to convert this code snippet i found in matlab to c# but dont know how. Does anyone know how to convert it to c# or vb.net code? Thanks
Stego = uint8(bitor(bitand(Overt, bitcmp(2^n - 1, 8)) , bitshift(Covert, n - 8))); n = Number of least significant bits to replace. Normally 4
Overt, Covert = Bitmap images
Stego = Bitmap image output
The matlab code allows one bitmap image to be encoded into the least signficant bits of another bitmap to form the Stego image.
Thanks for your help