neroreflex/apihackful

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

Installs: 89

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/neroreflex/apihackful

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

This package is not auto-updated.

Last update: 2025-09-28 10:16:25 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).