Multi System Encryption Problem

G

Grant

I am trying to write a program in VB.NET that exchanges both strings and
files with a ColdFusion web server which is running on Debian. I
attempted to do so with the Chilkat (http://www.chilkat.com) encryption
library in VB.NET and mcrypt (run through the command line of
ColdFusion) on the web server. No matter what I try I can not get the
encrypted strings & files to decrypt on the other system.

I need to use VB.NET and would prefer to stick with ColdFusion (which is
not important since I can run the encryption/decryption program through
the CFEXECUTE tag, basically command line). Can anyone provide ideas on
what else I can use or tips too consider to try to get these two systems
to work together?

Any help is much appreciated!
 
G

Grant

Grant said:
I am trying to write a program in VB.NET that exchanges both strings and
files with a ColdFusion web server which is running on Debian. I
attempted to do so with the Chilkat (http://www.chilkat.com) encryption
library in VB.NET and mcrypt (run through the command line of
ColdFusion) on the web server. No matter what I try I can not get the
encrypted strings & files to decrypt on the other system.

I need to use VB.NET and would prefer to stick with ColdFusion (which is
not important since I can run the encryption/decryption program through
the CFEXECUTE tag, basically command line). Can anyone provide ideas on
what else I can use or tips too consider to try to get these two systems
to work together?

Any help is much appreciated!

Got the Chilkat library website wrong. Correct URL is
http://www.chilkatsoft.com/
 
G

Guest

I am trying to write a program in VB.NET that exchanges both strings and
files with a ColdFusion web server which is running on Debian. I
attempted to do so with the Chilkat (http://www.chilkat.com) encryption
library in VB.NET and mcrypt (run through the command line of
ColdFusion) on the web server. No matter what I try I can not get the
encrypted strings & files to decrypt on the other system.

You could wrap your encrpytion library in a COM DLL or command line
application and call it from ColdFusion.

CF has an encrypt tag you can look it - it supports several algorithms
which are also available in .NET. You should be able to encrpyt the string
via .NET APIs and then decrypt it with the decrypt/encrypt tag.
 
G

Grant

Spam said:
You could wrap your encrpytion library in a COM DLL or command line
application and call it from ColdFusion.

CF has an encrypt tag you can look it - it supports several algorithms
which are also available in .NET. You should be able to encrpyt the string
via .NET APIs and then decrypt it with the decrypt/encrypt tag.

I'm actually using ColdFusion MX 6 in which the encrypt tag is limited.

I can take my Windows library and get it on the Linux server and call it
from ColdFusion??? How would I go about doing that?
 
G

Guest

I can take my Windows library and get it on the Linux server and call it
from ColdFusion??? How would I go about doing that?

Didn't realize you're running CF on a Linux server.

MX can call a Java class library right? You could wrap a standard
encryption library in Java and call in MX.
 
E

Ertugrul Söylemez

I am trying to write a program in VB.NET that exchanges both strings
and files with a ColdFusion web server which is running on Debian. I
attempted to do so with the Chilkat (http://www.chilkat.com)
encryption library in VB.NET and mcrypt (run through the command line
of ColdFusion) on the web server. No matter what I try I can not get
the encrypted strings & files to decrypt on the other system.

I need to use VB.NET and would prefer to stick with ColdFusion (which
is not important since I can run the encryption/decryption program
through the CFEXECUTE tag, basically command line). Can anyone
provide ideas on what else I can use or tips too consider to try to
get these two systems to work together?

C libraries can be easily wrapped into most languages, and I'm pretty
sure, VB.NET is one of them. Write a simple mcrypt wrapper. It's
always easiest to use the same encryption library on both ends.


Regards,
Ertugrul.
 
V

Vend

I am trying to write a program in VB.NET that exchanges both strings and
files with a ColdFusion web server which is running on Debian. I
attempted to do so with the Chilkat (http://www.chilkat.com) encryption
library in VB.NET and mcrypt (run through the command line of
ColdFusion) on the web server. No matter what I try I can not get the
encrypted strings & files to decrypt on the other system.

I need to use VB.NET and would prefer to stick with ColdFusion (which is
not important since I can run the encryption/decryption program through
the CFEXECUTE tag, basically command line). Can anyone provide ideas on
what else I can use or tips too consider to try to get these two systems
to work together?

Any help is much appreciated!

You should look in the documentation of both encryption libraries to
find out what encoding scheme they use.
You can also google some standard test vectors for your cipher and see
if you can reproduce them with your libraries.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top