Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi, I have a key which is in hex as "1C19D5ED8D88DC40" and the data in hex as "041164DFFFFE7FF7". I am supposed to do DES encryption to obtain the encrypted value in hex as "B652FF1BA23C279B". i struggled a lot with all possible encrypting methods of DES but couldn't get the exact value. I found it in this link http://mavroudisv.eu/des/index.php[^] I passed the binary values of the above hex as input and got the desired. Help with C# code to get the above value.
Posted
Comments
cvogt61457 29-Oct-13 10:07am    
Post the code you've tried. I can't see what you've done from here.
johannesnestler 29-Oct-13 15:22pm    
can't you even Show some pseudo code? hard to tell what you have tried...

1 solution

 
Share this answer
 
Comments
alwinjoseg 29-Oct-13 9:59am    
Have tried that already but couldn't get what i expect.
Richard MacCutchan 29-Oct-13 10:14am    
Well it's impossible to guess why you think that encryption will provide the value you are looking for.
alwinjoseg 29-Oct-13 10:35am    
Actually i have a tool developed in c++ producing the value which i need. But i need to implement it in c#.
Richard MacCutchan 29-Oct-13 12:05pm    
Then you need to see what is different between the C++ implementation and the C# version.
alwinjoseg 30-Oct-13 0:45am    
unfortunately, i dont have those codings. I have only the exe.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900