Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help with encrypt/decrypt using AES or similar

3 views
Skip to first unread message

Andy

unread,
Mar 27, 2010, 1:23:03 PM3/27/10
to
Hi,
I am trying to encrypt some text files with AES or similar encoding via
a windows batch file, and then upload them to my server, then decode
them with php, so I can enter the data within the files into my sql
database.
Reason for the encryption is that the files are uploaded into a semi
public folder, and I don't want anyone else who has access to that
folder to be able to read the data from the files.

Anyway.. I have encrypted a file using ccrypt, uploaded this to the
server, but using mcrypt in php I am getting garbage out.. I'm sure it
is something to do with the IV string, but I can't seem to get the value
for this out of the ccrypt encoded file..

Has anyone ever done a similar thing..?? any suggestions for something
that might work..

What I need is a simple encryption that will run from a batch file or
even from a VB script on windows pc, that I can decode easily using
mcrypt in php on the server..

As you can probably tell... I'm not well up on this...!!!!

Any help would be most gratefully received..

Thanks
Andy

0 new messages