deemru / cloaked
Cloaks sensitive data
1.0.2
2023-11-27 00:48 UTC
Requires
- php: >=5.6
Suggests
- ext-sodium: For security and speed
README
Cloaked implements cloaking for sensitive information, ensuring that it doesn’t fit a single 64 kilobyte packet.
Usage
$cloaked = new Cloaked(); $sensitive = 'Hello, world!'; $cloaked->cloak( $sensitive ); $cloaked->uncloak( function( $data ){ /*do stuff with*/ $data; } );
Requirements
- PHP >= 5.6
Installation
composer require deemru/cloaked