[FX.php List] Encrypting/decrypting in PHP

Stephen Grant stephen.grant at 724.com.au
Tue Sep 20 13:53:07 MDT 2011


Bob; 

We use php to decrypt the data. Here's how:   We take the ecrypted data from filemaker and pass it to our webserver using troiUrl plugin as a post; the webserver then returns the unencrypted data as a JSON array; which we then parse out. This happens over SSL just for extra measure.

Forgot to send the code yesterday will do so today


//
Stephen Grant


On 21/09/2011, at 0:58, Bob Patin <bob at patin.com> wrote:

> Stephen,
> 
> How do you decrypt when desired? In PHP or in FileMaker?
> 
> 
> Bob Patin
> Longterm Solutions LLC
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
> FileMaker 9, 10 & 11 Certified Developer
> Member of FileMaker Business Alliance and FileMaker TechNet
> --
> Twitter: bobpatin
> Google+: http://www.longtermsolutions.com/plus
> AIM: longterm1954
> iChat: bobpatin
> --
> Expert FileMaker Consulting 
> FileMaker Hosting for all versions of FileMaker
> 
> On Sep 19, 2011, at 11:56 AM, Stephen Grant wrote:
> 
>> We do this all the time. Use:
>> 
>> 
>> http://php.net/manual/en/function.mcrypt-encrypt.php
>> 
>> Then base64 encode the results.
>> 
>> I will send an example tomorrow.
>> 
> 
> 
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20110921/761b13e3/attachment.html


More information about the FX.php_List mailing list