Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~10K People Reached
Favorite Forums
Favorite Tags
Member Avatar for kartouss

Hello, I need to encrypt an image but my program is accepting 16 bytes of data for encryption from a file named plaintext.txt.. The program is encrypting data in blocks of 16 bytes that is the 1st 16 bytes are read then it is encrypted and saved in the ciphertext.txt …

Member Avatar for gnrsu
0
1K
Member Avatar for kartouss

hello, can anyone help me how to encrypt an image that is how the values in the image are read and saved in a file... I need to load an image and then the program will extract the pixel values and save it in a file and then the values …

Member Avatar for Zhassan
0
1K
Member Avatar for kartouss

Hello, I need to a browse button to be able to open an image in the image control and also be able to get the path for the image... Can anyone help...

Member Avatar for chrisjake
0
635
Member Avatar for kartouss

Hello, I have a function which calculates time for a specific operation and prints the time... However i want to call the time in another function and display its value... The code is as follows:- [code=c++]int encrypt() { double encryptTime,Add,sub,sft,mix; // add + sub + sft + mix calculations encryptTime …

Member Avatar for kartouss
0
234
Member Avatar for kartouss

Hello, I am using a code to generate random numbers upto 32 char... The problem is that i want to display the 32 characters each randomly because the code is displaying the same char 32 times and i want to get the 32 chars generated randomly... The code is:- [code=c++]#include …

Member Avatar for kartouss
0
154
Member Avatar for kartouss

Hello, I am calling a c++ dll in vb... Everything is working fine.. Just i am unable to write the vb code in order to perform the require action... Code for calling the c++ dll in vb [code=visual basic 6]Private Declare Function do_encrypt Lib "AES.dll" (ByVal text As String, ByVal …

Member Avatar for kartouss
0
144
Member Avatar for kartouss

Hello, I am encrypting a video using AES...The file format that i am using is .avi. In order to play the encrypted video i need to save the header information of the video before encryption to be able to display the video as a video format(.avi). I got the header …

Member Avatar for kartouss
0
480
Member Avatar for kartouss

Hello, I am having a problem for coping the string into a 2d array.. Also if the length of the string is more than 16 bytes how to continue to read till end of string.. Can anyone help.. [code=c++]int encrypt() { string text = "Encryption"; char b1[4][4]; text.length(); strcpy(text,b1); // …

Member Avatar for vmanes
0
4K
Member Avatar for kartouss

Hello, I am having a problem to call a function I am posting the code... Can anyone help how we can solve the problem... [CODE]int AES(string path1, string path2) { ifstream myfile1 (path1, ios::binary);// error ofstream myfile3 (path2, ios::binary);//error } int main() { AES( "c:/plaintext.txt" , "c:/cipheretxt.txt" ); return 0; …

Member Avatar for kartouss
0
77
Member Avatar for kartouss

Hello i am using AES to encrypt/decrypt data/ pixel values.. saved in a file myfile.txt and the AES encrypts tha data and writes the ciphertext in a file ciphertext.txt When decrypting the data i am getting some of the pixel values decrypted correctly followed by garbage.. Code to open myfile.txt …

Member Avatar for kartouss
0
525
Member Avatar for kartouss

[code=c++] // Input the plaintext in the array char d; string temp; ifstream myfile1 ("Plaintext.txt"); if (myfile1.is_open()) { do { for ( j=0; j<BC; j++) // BC=4 for ( i=0; i < 4; i++) { myfile1.get(d); a[i][j] = d; // plaintext } Encrypt(a, rk); /* strcpy(temp,a); // Code to write …

Member Avatar for kartouss
0
149
Member Avatar for kartouss

Hello, I am new to this forum... If anyone knows on AES and its s/w optimization techniques in c++ please help me out I am using the AES code to encrypt and decrypt data.. In my code the plaintext is given in the main program itself it is in hexadecimal …

Member Avatar for kartouss
0
186