Click here to Skip to main content
15,358,266 members
Home / Discussions / C#
   

C#

 
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 
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 
sorry for the bad language, i have a little problem encrypt direct to save but saving file nothing without the type of file,
this forum can be include the picture of my problems (programs) ?
code for encryption direct to saving the cipher file:
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: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 
AnswerRe: Dynamic connector between two draw objects in canvas Pin
BobJanova23-Jun-14 1:27
MemberBobJanova23-Jun-14 1:27 
Questionunable to connect to any of the specified mysql Pin
Jassim Rahma21-Jun-14 22:15
MemberJassim Rahma21-Jun-14 22:15 

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.