MessageBox.Show("Hash Password in Binary String\n" + hashBinStr + "\nLength : " + hashBinStr.Length);
i want this content displayed by this msg box to be saved in a file , given the file name and folder name
MessageBox.Show("Hash Password in Binary String\n" + hashBinStr + "\nLength : " + hashBinStr.Length);
i want this content displayed by this msg box to be saved in a file , given the file name and folder name
i tried changing.i have a index error. can you give me a particular sytax
private void btnOOImg_Click(object sender, EventArgs e)
{
string imgFileName;
Bitmap img = null;
Color c;
int i, j;
openFileDialog1.Filter = "All Image Files|*.bmp;*.ico;*.cur|All files (*.*)|*.*";
openFileDialog1.FileName = null;
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
imgFileName = openFileDialog1.FileName;
img = (Bitmap)Image.FromFile(imgFileName);
for (i = 0; i < img.Width - 1; i++)
{
for (j = 0; j < img.Height - 1; j++)
{
c = img.GetPixel(i, j);
imgO[i, j] = c.R;
// MessageBox.Show("" + imgO[i, j]);
}
}
picOriginal.Image = img;
}
}
this code restricts certain images. i want it to change accept all images in as a file not inside a picture box
modified on Tuesday, December 7, 2010 11:55 AM
what does that reply means
i have developed for gray scale image i dont know to change it to colour.As per the algorithm each color has to encrpted individually .Can u help??
i have done the encryption for black and white images but the processing time is high as the size increases.i want a help to lower the process time. i like to know how to modify for color images.i have done the encryption using the base paper"A hash based image encryption algorithm" from a journal published by Elsevier