Page 1 of 1

PB bindings for stuff

Posted: Fri Mar 18, 2005 3:49 am
by kake26
Hi,
I just thought some of you might be interested in the fact I have a PB binding for zlib and for libmcrypt. Lets say it involved alot of C translation and boy does it suck, but the end result is pure gold. PB also translates nicely.

Posted: Fri Mar 18, 2005 4:02 am
by kake26
I just finished the libmcrypt binding and tested it. It works! Oh, you might be wondering why I chose libmcrypt to create a binding for. Simple, this way my PB apps can use ODBC and manipulate encrypted data in a DB directly. Note the data was encrypted using libmcrypt from inside of PHP.

Posted: Fri Mar 18, 2005 3:50 pm
by gnozal
Hi, sorry but I don't understand what do you mean with 'PB binding' :oops:
- a static library ?
- a wrapper for a DLL ?
- something else ?

Posted: Fri Mar 18, 2005 3:56 pm
by kake26
Best described as a wrapper for a library. I suppose they are both wrappers and interfaces, since they are translated C header files. Well, I've taken no special care to do more than enable someone to use those libs on there own. In both cases there is code in there that show you how to use the stuff.

Posted: Fri Mar 18, 2005 4:00 pm
by gnozal
Thanks.
Is there something to download or it is still work in progress ?

Posted: Fri Mar 18, 2005 4:09 pm
by kake26
Yes, there is a download. I think the libmcrypt one goes first to be publically avail. The gzip one needs a bit of cleaning its a tab to messy. Anyhow here is the URL for the first one.

http://www.r-t-f-m.com/files/source/pur ... /mcrypt.pb

Posted: Fri Mar 18, 2005 4:12 pm
by gnozal
Thanks.
Maybe you could post the links in "Trick'n'Tips" or in "Announcement" ?
And please post the links to the missing files like 'libmcrypt.so'

Posted: Mon Mar 21, 2005 4:21 pm
by Karbon
Should also note that this appears to be for the Linux library. I do believe that libmcrypt is available in DLL format but I'm not sure about the license.