neroreflex/apihackful

An utility to perform RESTful API call with end-to-end encryption

dev-master 2018-01-17 13:20 UTC

This package is not auto-updated.

Last update: 2024-04-28 02:16:33 UTC


README

An implementation of RESTful API with end-to-end encryption and compression, with a support to PSR-7 standard.

Usage

In order to implement the library you have to obtain an encryption key.

Just run the following command on a Linux PC or server running from more than half an hour:

head -c 32 /dev/urandom | base64

than write in your application startup file:

define('APIHACKFUL_ENCRYPTION_KEY', "8jBsckIGj9XQ7rKIwk53NtbiyP2pH0qJgZKH8cICtr4=");

obviously... DO NOT USE THE EXAMPLE!

WIP

Not ready (yet).