- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
12 Posted Topics
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 … | |
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 … | |
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... | |
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 … | |
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 … | |
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 … | |
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 … | |
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); // … | |
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; … | |
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 … | |
[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 … | |
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 … |
The End.