473,804 Members | 3,708 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DES decryption for des_enc of Tim Hudson and Eric Young

Tom
Hey experts,

I have to write some classes doing communications with a device
controlled via RS 232. Everthing is working well, but the data the
device is sending back is encrypted.

As I have found out today, the firmware is using algorithms which are
compatible to the algorithms created by Eric Yound and Tim Hudson a
couple of years ago.

I have studied DESCryptoServic eProvider and found, that handling of
this provider is very easy. The device is using easy ECB encryption
and the decryption should be just a few lines of code.

The problem: I just know a string (char) phrase which is used by the
device to generate a key, for example "12345678".

Is there ANYONE in the univers, who knows the code of Eric Young and
Tim Hudson (probably themselves - email addresses in source are not
correct anymore) and can help me using DESCryptoServic eProvider with
my string phrase to decrypt information of the device (in CSharp c#)
??

Folks, I am not trying to crack anything - the device is just a few
years old and theres nobody left to help me working with it.

Thanks for any info which could help me researching or solving.

Mr. Nicolas Paladino - probably you know any further infos ??

THANKS.

Tom
Nov 16 '05 #1
2 3662

"Tom" <ts@ck-de.net> wrote in message
news:2f******** *************** ***@posting.goo gle.com...
Hey experts,

I have to write some classes doing communications with a device
controlled via RS 232. Everthing is working well, but the data the
device is sending back is encrypted.

As I have found out today, the firmware is using algorithms which are
compatible to the algorithms created by Eric Yound and Tim Hudson a
couple of years ago.

I have studied DESCryptoServic eProvider and found, that handling of
this provider is very easy. The device is using easy ECB encryption
and the decryption should be just a few lines of code.

The problem: I just know a string (char) phrase which is used by the
device to generate a key, for example "12345678".

Is there ANYONE in the univers, who knows the code of Eric Young and
Tim Hudson (probably themselves - email addresses in source are not
correct anymore) and can help me using DESCryptoServic eProvider with
my string phrase to decrypt information of the device (in CSharp c#)
??

Folks, I am not trying to crack anything - the device is just a few
years old and theres nobody left to help me working with it.

Thanks for any info which could help me researching or solving.

Mr. Nicolas Paladino - probably you know any further infos ??

THANKS.

Tom


I think you can find Tim's email address here:
http://www2.psy.uq.edu.au/~ftp/Crypto/

/Fredrik

Nov 16 '05 #2
Tom
Frederik,

thanks for the information but the mailadress given on that site is
not valid anymore (I#ve tried to post a message)- cryptosoft.com
domain does not really exist.

I think my prolbem is not really a problem, but a misunderstandin g:

If I geive an 8 byte key to DESCryptoServic eProvider(), the provider
will calculate all necessary schedules and it will work correct - this
is why I could not find any key generator -> it is not needed !

This problem is now SOLVED - it did not exist (only in my head).

Thanks for any comments.

Tom
"Fredrik Wahlgren" <fr************ ****@mailbox.sw ipnet.se> wrote in message news:<#0******* *******@TK2MSFT NGP09.phx.gbl>. ..
"Tom" <ts@ck-de.net> wrote in message
news:2f******** *************** ***@posting.goo gle.com...
Hey experts,

I have to write some classes doing communications with a device
controlled via RS 232. Everthing is working well, but the data the
device is sending back is encrypted.

As I have found out today, the firmware is using algorithms which are
compatible to the algorithms created by Eric Yound and Tim Hudson a
couple of years ago.

I have studied DESCryptoServic eProvider and found, that handling of
this provider is very easy. The device is using easy ECB encryption
and the decryption should be just a few lines of code.

The problem: I just know a string (char) phrase which is used by the
device to generate a key, for example "12345678".

Is there ANYONE in the univers, who knows the code of Eric Young and
Tim Hudson (probably themselves - email addresses in source are not
correct anymore) and can help me using DESCryptoServic eProvider with
my string phrase to decrypt information of the device (in CSharp c#)
??

Folks, I am not trying to crack anything - the device is just a few
years old and theres nobody left to help me working with it.

Thanks for any info which could help me researching or solving.

Mr. Nicolas Paladino - probably you know any further infos ??

THANKS.

Tom


I think you can find Tim's email address here:
http://www2.psy.uq.edu.au/~ftp/Crypto/

/Fredrik

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2425
by: D. Alvarado | last post by:
On my Fedora Core 2 Linux dev box, I have installed mcrypt and compiled PHP with the --with-mcrypt option. I am concerned that when I move to another hosting enviornment mcrypt will not be supported. In people's experiences, have hosting companies supporting PHP/MySQL generally provided support for mcrypt? Does anyone recommend another module for encryption/decryption that accompanies the PHP package? Thanks, - Dave
4
1565
by: EMW | last post by:
Hi, I use the following code: Function CryptoWriter(ByVal file As String) As CryptoStream Dim FileWriter As FileStream = New FileStream(file, FileMode.Create) Dim CryptoProvider As RijndaelManaged = New RijndaelManaged Dim key As Byte() = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16} Dim iv As Byte() = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16} Return New CryptoStream(FileWriter,...
1
2473
by: Jase H | last post by:
Hello, I have a ASP.NET web application problem involving the data encryption and decryption assembly(DLL) used on the connection string value that is set in the webconfig file. The problem occurs in the application when you instantiate a new instance of the class as shown below: ---Dim dp As DPAPIComp.DataProtectorComp = New DPAPIComp.DataProtectorComp--- where DPAPIComp is the name of the namespace referenced to in the library
0
1163
by: EMW | last post by:
Hi, I use the following code: Function CryptoWriter(ByVal file As String) As CryptoStream Dim FileWriter As FileStream = New FileStream(file, FileMode.Create) Dim CryptoProvider As RijndaelManaged = New RijndaelManaged Dim key As Byte() = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16} Dim iv As Byte() = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16} Return New CryptoStream(FileWriter,...
1
3454
by: Martin | last post by:
Hi Im trying to make a Client/Server where im going to encrypt the stream but i cant get it to work. I can recieve and send as long as im not trying to send/recieve encrypted. but when i am i cant send, recieve or both. The Send/Recieve Code is the same on both Server and client. Send/Recieve Code: private Stream Net() { if(Encrypted) {
1
8990
by: BigLuzer | last post by:
hi i am using the following setup: - .net 1.1 - 2 load-balanced iis servers - DPAPI machine store. - C# - i encrypted the connection string separately, one on each machine. the error i get is: - Exception decrypting. Decryption failed. Key not
13
3597
by: Tom Andrecht | last post by:
I'm trying to get some encryption/decryption routines going to take care of my data, and while the encryption is working great, I keep running into the message "Padding is invalid and cannot be removed" on the decryption piece. From everything I can see, I am doing things correctly here My code is as follows: private const string PassStr = "MyPrivateKey"; private static readonly byte PassSalt = new byte { Byte Byte Byte Byte Byte};...
5
9550
by: Netwatcher | last post by:
well, i started messing around with dictionaries, yet, most of the pages i found about them always talk about getting only one word out of it and turning it vice versa, i've been playing with that code for a few hours: #dics Encryption={',':'hy{;',' ':'h4x0r2','':'zomg','?':'bko','a':'ika','b':'d0v','c':'ino', 'd':'maw', 'e':'aon', 'f':'que', 'g':'kip', 'h':'an', 'n':'ko print lol except KeyError: print 'These...
9
4821
by: Betikci Boris | last post by:
I get bored last night and wrote a script that uses xor for encrypt- decrypt, however it woks fine under linux 2.6.25, text and documents are ok, but fails on compressed files *.jpg, *.pdf , etc . I didn't test script on windows. Here is the code, please send me your views. <?php /* Mother Eye Chipper with PHP :), Licence:GPL,
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10580
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10335
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10323
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10082
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5652
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4301
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2993
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.