Skip to content
Snippets Groups Projects
Commit 5d27f248 authored by Vipin Thomas's avatar Vipin Thomas
Browse files

Update pixel.cpp

parent 841b60a2
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment