encryption in c#
Posted
by
Raja
on Stack Overflow
See other posts from Stack Overflow
or by Raja
Published on 2011-01-08T11:44:46Z
Indexed on
2011/01/08
11:53 UTC
Read the original article
Hit count: 233
c#
|encryption
i am implementing on algorithm in c#. it has encrypt one word . i have check using decrypt also. now i am using a textbox. want to pass a string in that text box that gives my whole string as cypher text. i dont know how to use. i have mad one loop there and calacated the string length. now suppose my function is
it is PasswordEncryptor.cs file
public static double REncryptText(double m)
{// code
}
this fuction is doing a single number convertion into the encrpt
and in code i know this is wrong i want try in this
for (int i = 0; i <= 32; i++)
{
int [] cyph = new int[5];
// cyph=PasswordEncryptor.REncryptText(i);
cypherText.Text = c;
}
i want that after entering the string into textbox it will call that string till string length and and by adding all the part of string one by one, i will get a final encrpytion code and will use further
please help me in doing this
© Stack Overflow or respective owner