Jump to content

Recommended Posts

Posted (edited)

You're going to need Beege's Base64 UDF and Ward's AES UDF.


Beege's Base64 UDF - Base64.au3

Original Thread: https://goo.gl/H1QqEG

  Reveal hidden contents

 

 

Ward's AES UDF - AES.au3

Original Thread: https://goo.gl/zQdASR

  Reveal hidden contents

 


Ward's UDF is amazing, but I felt the need to make a few "Helper" functions to make things easier. _Encrypt() and _Decrypt(), accepting 1 parameter and using a randomly generated IV for encryption, making the end encryption string dynamic and never the same. It pulls the IV from the first 16 characters of an encrypted string for the _Decrypt() routine.
EncryptionExample.au3

  Reveal hidden contents

 

Now for the PHP goodies! First, we have a required include Encryption.php which was compiled by me.

  Reveal hidden contents

 

And, finally, an example of the PHP side of things. EncryptionExample.php

  Reveal hidden contents


/EncryptionExample.php?Action=Decrypt&Text=W4NAKRzuuTOfl9pAE8kSUgMYcuosvbUy58GR9w46U8w=

Should output something like this:

  Reveal hidden contents

 

Edited by BinaryBrother

SIGNATURE_0X800007D NOT FOUND

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...