Click here to Skip to main content
15,891,981 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to write a single purpose app with no processing output? Pin
Colin Angus Mackay26-Nov-07 23:56
Colin Angus Mackay26-Nov-07 23:56 
GeneralRe: How to write a single purpose app with no processing output? Pin
michal.kreslik27-Nov-07 0:06
michal.kreslik27-Nov-07 0:06 
GeneralRe: How to write a single purpose app with no processing output? Pin
michal.kreslik27-Nov-07 0:21
michal.kreslik27-Nov-07 0:21 
AnswerRe: How to write a single purpose app with no processing output? Pin
blackjack215027-Nov-07 0:43
blackjack215027-Nov-07 0:43 
Questioncell formatting Pin
arkiboys26-Nov-07 23:35
arkiboys26-Nov-07 23:35 
QuestionError in Master Page Pin
John.L.Ponratnam26-Nov-07 23:28
John.L.Ponratnam26-Nov-07 23:28 
AnswerRe: Error in Master Page Pin
pmarfleet27-Nov-07 1:15
pmarfleet27-Nov-07 1:15 
QuestionHow to implement an own MD5 algorithm Pin
cman8026-Nov-07 23:26
cman8026-Nov-07 23:26 
Hello!

I'm working on an project and want to use MD5 algorithm but I was trying to write my own algorithm witch will works as the same as MD5.
At first I was writing in MS Visual Studio using a System.Security.Cryptography libryry:

using System.Security.Cryptography;
public string encoding(string testText)
{
//Declarations
Byte[] originalBytes;
Byte[] encodedBytes;
MD5 md5 = new MD5CryptoServiceProvider();

originalBytes = ASCIIEncoding.Default.GetBytes(testText);
encodedBytes = md5.ComputeHash(originalBytes);

return BitConverter.ToString(encodedBytes);
}

Now I want to implement the same algorithm, self-writed but without included librarys witch must return the same value. I have to write an code witch assign a hash code to some input string (like testText in function).
Have anyone some idea?

Thanks a lot!

Benny
AnswerRe: How to implement an own MD5 algorithm Pin
Colin Angus Mackay26-Nov-07 23:51
Colin Angus Mackay26-Nov-07 23:51 
AnswerRe: How to implement an own MD5 algorithm [modified] Pin
Anthony Mushrow27-Nov-07 0:11
professionalAnthony Mushrow27-Nov-07 0:11 
AnswerRe: How to implement an own MD5 algorithm Pin
Dave Kreskowiak27-Nov-07 8:53
mveDave Kreskowiak27-Nov-07 8:53 
Questionhelp file Pin
alok217126-Nov-07 23:05
alok217126-Nov-07 23:05 
AnswerRe: help file Pin
Colin Angus Mackay26-Nov-07 23:50
Colin Angus Mackay26-Nov-07 23:50 
QuestionAnybody knows the best hide/change my IP address software? Pin
sivaramireddy p26-Nov-07 23:04
sivaramireddy p26-Nov-07 23:04 
AnswerRe: Anybody knows the best hide/change my IP address software? Pin
Colin Angus Mackay26-Nov-07 23:48
Colin Angus Mackay26-Nov-07 23:48 
AnswerRe: Anybody knows the best hide/change my IP address software? Pin
Dave Kreskowiak27-Nov-07 8:55
mveDave Kreskowiak27-Nov-07 8:55 
Questioncheange background image with setting Pin
sara_136326-Nov-07 22:42
sara_136326-Nov-07 22:42 
AnswerRe: cheange background image with setting Pin
Mustafa Ismail Mustafa26-Nov-07 23:36
Mustafa Ismail Mustafa26-Nov-07 23:36 
JokeRe: cheange background image with setting Pin
Pete O'Hanlon27-Nov-07 5:15
mvePete O'Hanlon27-Nov-07 5:15 
JokeRe: cheange background image with setting Pin
Mustafa Ismail Mustafa27-Nov-07 20:22
Mustafa Ismail Mustafa27-Nov-07 20:22 
GeneralRe: cheange background image with setting Pin
Pete O'Hanlon27-Nov-07 21:41
mvePete O'Hanlon27-Nov-07 21:41 
QuestionHow to provide secuity for webservices using c#? Pin
Satish - Developer26-Nov-07 22:38
Satish - Developer26-Nov-07 22:38 
AnswerRe: How to provide secuity for webservices using c#? Pin
Pete O'Hanlon26-Nov-07 22:42
mvePete O'Hanlon26-Nov-07 22:42 
GeneralRe: How to provide secuity for webservices using c#? Pin
N a v a n e e t h26-Nov-07 23:01
N a v a n e e t h26-Nov-07 23:01 
GeneralRe: How to provide secuity for webservices using c#? Pin
Pete O'Hanlon27-Nov-07 0:11
mvePete O'Hanlon27-Nov-07 0:11 

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.