Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Interfacing Python crypto library

Reply
Thread Tools

Interfacing Python crypto library

 
 
Gandalf
Guest
Posts: n/a
 
      06-15-2004

Hi All!

I have an interesting problem here. I have written a Delphi program that
should connect to a server written in Python. I'm using a package called
DCP for encryption in Delphi and the well known pycrypto library in Python.

Delphi lib: {* DCPcrypt v2.0 written by David Barton
() **********}
Python lib: http://sourceforge.net/projects/pycrypto

For example, the SHA1 algorithm of DCPCrypt and Python seems to be
binary compatible. I want to use a symmetric cipher in CFB (8 bit) mode.
Using the same key, cipher type (Blowfish) and the same plaintext, these
libraries return different ciphertext values. Is there a way to make
them binary compatible? I do not insist on these two libraries. If
somebody can tell me two libraries that can work together with Delphi
and Python that will be perfect. I would be satisfied with a stand-alone
cipher too. The main point here is that my Delphi program will be a
native windows application. I do not want to install Python and I do not
want to use Python4Delphi on the client machines. Any ideas welcome.

Best,

Laszlo Nagy





 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Templating library which generates HTML+JS for interfacing RESTfully? Alec Taylor Python 0 05-31-2012 11:51 AM
Interfacing intel IXP 2350 with FPGA as a crypto processor channakeshava Hardware 0 04-24-2008 07:50 AM
looking for a simple crypto library =?UTF-8?Q?P=C4=B1nar_Yanarda=C4=9F?= Python 4 03-16-2007 04:52 PM
Which Crypto Library? GiBo Python 1 02-22-2007 02:16 AM
Simple crypto library Dave C++ 8 05-14-2005 04:53 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57