Skip to content

A simple library for encrypting + compressing HTTP requests

License

Notifications You must be signed in to change notification settings

PHPPowertools/SecureHTTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SecureHTTP Component

PHPPowertools is a web application framework for PHP >= 5.4.

PHPPowertools/SecureHTTP is a simple library for encrypting + compressing HTTP requests.

Example use :
$keyFolder = 'var/secure/keys';


// Encrypt data
$encrypted = \PowerTools\SecureHTTP::factory([
    'consumer' => '153eePP2185e4444$2215153335d1R',
    'token' => '1821dZZ5-4-35-16fj6225ak-DWWZvnk-d1qNl5R',
    'keyFolder' => $keyFolder
])->encrypt($data);


// Decrypt data
$decrypted = \PowerTools\SecureHTTP::factory([
    'keyFolder' => $keyFolder
])->decrypt($encrypted);

Author
twitter/johnslegers
John slegers

About

A simple library for encrypting + compressing HTTP requests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published