-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encryption/Decryption Method #14
Comments
@Roycohen The simplest way is just to write a simple PHP C extension library including the core C functions for encryption/decryption in this nginx C module. |
@Roycohen use this snippet: https://gist.github.com/siberex/ee135b2d28b3b4be77c5 This is a php code to encrypt and decrypt data in encrypted-session-nginx-module compatible way. So, you can encrypt with php and decrypt with nginx module, and vice versa. |
Hello @siberex, |
@naviocean I don't have one. But you can easily transcribe it from php using either native NodeJS Crypto module or mcrypt npm package. |
Hi There,
Assume I want to use this library and to decrypt and encrypt more things in PHP.
How can I achieve it?
What is the encryption method?
Do you have any PHP code example or can you please assist me in building one, using mcrypt or something.
Thanks
The text was updated successfully, but these errors were encountered: