X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/994c6a6e920abfc3823984ef4d6caaf85c2008da..d8de23027e190ab94ece38a9411fefb995bab460:/IDA/ida_gf65.cpp diff --git a/IDA/ida_gf65.cpp b/IDA/ida_gf65.cpp index 2a914c5..d497186 100644 --- a/IDA/ida_gf65.cpp +++ b/IDA/ida_gf65.cpp @@ -222,9 +222,9 @@ int invertible_matrix(gf_t *gf, int *mat, int rows, int w) mylong* readFullFile(int n, int t, mylong& sizeFile, mylong & padded_size) { - ifstream stream("lena.png", ios::in | ios::binary | ios::ate); +// ifstream stream("lena.png", ios::in | ios::binary | ios::ate); // ifstream stream("lena_small.png", ios::in | ios::binary | ios::ate); -// ifstream stream("/home/couturie/Downloads/CARCARIASS.zip", ios::in | ios::binary | ios::ate); + ifstream stream("/home/couturie/Downloads/CARCARIASS.zip", ios::in | ios::binary | ios::ate); sizeFile=stream.tellg(); std::cout << sizeFile << std::endl; @@ -380,7 +380,7 @@ int main(int argc, char **argv) mylong *identity; - int size=5000000; +// int size=5000000; int t=3; int n=5; @@ -449,7 +449,7 @@ int main(int argc, char **argv) //Save trunks for(int i=0;i(&matS2[1]); - saveFile(reconstucted_data, "lena2.png",new_size); + saveFile(reconstucted_data, "file.dat",new_size); return 0; }