Click here to Skip to main content
15,391,695 members
Home / Discussions / C#
   

C#

 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
Dave Kreskowiak22-Jun-14 17:36
mveDave Kreskowiak22-Jun-14 17:36 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
KaKoten22-Jun-14 18:07
MemberKaKoten22-Jun-14 18:07 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
Dave Kreskowiak22-Jun-14 18:41
mveDave Kreskowiak22-Jun-14 18:41 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
KaKoten22-Jun-14 18:46
MemberKaKoten22-Jun-14 18:46 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
harold aptroot23-Jun-14 4:01
Memberharold aptroot23-Jun-14 4:01 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
KaKoten23-Jun-14 12:43
MemberKaKoten23-Jun-14 12:43 
AnswerRe: Cryptanalysis Algorithm RC5 Pin
OriginalGriff22-Jun-14 19:39
mveOriginalGriff22-Jun-14 19:39 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
KaKoten23-Jun-14 0:51
MemberKaKoten23-Jun-14 0:51 
Sorry for the questions are a little disturbing, I wonder a little about saving all have to add any type of file that the file can be read:

code from encryption but add file nothing without type file. thanks for help in me Smile | :) Smile | :)
private void button1_Click(object sender, EventArgs e)
{
if (textBox1.Text.Length < 5)
{
password = textBox1.Text + "addto";
}
if (save())
{
try
{
password = textBox1.Text;
System.IO.FileStream streamreader1 = new System.IO.FileStream(fileName, System.IO.FileMode.Open, System.IO.FileAccess.Read);
System.IO.FileStream streamwriter1 = new System.IO.FileStream(saveFileName, System.IO.FileMode.OpenOrCreate, System.IO.FileAccess.Write);
rounds = (int)numericUpDown1.Value;
Rc5 rc = new Rc5(password, rounds);
rc.Encrypt(streamreader1, streamwriter1);
}
catch
{
MessageBox.Show("file may be in use by another process", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
GeneralRe: Cryptanalysis Algorithm RC5 Pin
OriginalGriff23-Jun-14 1:04
mveOriginalGriff23-Jun-14 1:04 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
KaKoten23-Jun-14 1:12
MemberKaKoten23-Jun-14 1:12 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
OriginalGriff23-Jun-14 1:10
mveOriginalGriff23-Jun-14 1:10 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
KaKoten23-Jun-14 1:20
MemberKaKoten23-Jun-14 1:20 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
OriginalGriff23-Jun-14 2:31
mveOriginalGriff23-Jun-14 2:31 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
KaKoten23-Jun-14 2:41
MemberKaKoten23-Jun-14 2:41 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
OriginalGriff23-Jun-14 2:59
mveOriginalGriff23-Jun-14 2:59 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
KaKoten23-Jun-14 13:01
MemberKaKoten23-Jun-14 13:01 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
OriginalGriff23-Jun-14 23:39
mveOriginalGriff23-Jun-14 23:39 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
KaKoten24-Jun-14 21:08
MemberKaKoten24-Jun-14 21:08 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
OriginalGriff24-Jun-14 21:40
mveOriginalGriff24-Jun-14 21:40 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
KaKoten25-Jun-14 16:40
MemberKaKoten25-Jun-14 16:40 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
KaKoten23-Jun-14 12:40
MemberKaKoten23-Jun-14 12:40 
GeneralRe: Cryptanalysis Algorithm RC5 Pin
Dave Kreskowiak23-Jun-14 2:47
mveDave Kreskowiak23-Jun-14 2:47 
QuestionPossible to get the SQL server that executed the SqlCommand? Pin
SledgeHammer0122-Jun-14 12:56
MemberSledgeHammer0122-Jun-14 12:56 
AnswerRe: Possible to get the SQL server that executed the SqlCommand? Pin
Mycroft Holmes23-Jun-14 1:21
professionalMycroft Holmes23-Jun-14 1:21 
QuestionDynamic connector between two draw objects in canvas Pin
KRISHNARAYALU22-Jun-14 10:02
MemberKRISHNARAYALU22-Jun-14 10:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.