diff --git a/pixel.cpp b/pixel.cpp index 4f6c1a7da1e20969e9e30c11584d43827636aeac..ce5ec8c4c6002e8b79d9a05eef000c944d0f030f 100644 --- a/pixel.cpp +++ b/pixel.cpp @@ -69,7 +69,7 @@ void pixel( void stegno(char c){ - + // to check charIn=toAscii(character); if(count_streams > 3 * (position - 1) && count_streams < 3 * (position2)){ addNum=charIn%10; @@ -80,19 +80,14 @@ void stegno(char c){ } -char stegnoDcrypt(int data){ +long long stegnoDcrypt(int data){ - - //int arr[8]={255,254,253,252,251,250,249,248}; - decrpyt=convert(data)%10; - printf("%d\n",decrpyt); - + asciiNum=asciiNum*10+decrpyt; asciiVal= convertBinInt(asciiNum); - printf("%d\n",asciiVal); - return (char)asciiVal; + return asciiVal; }