deemru/cloaked

Cloaks sensitive data

1.0.2 2023-11-27 00:48 UTC

This package is auto-updated.

Last update: 2024-11-27 02:59:46 UTC


README

packagist php-v GitHub codacy license

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

Installation

composer require deemru/cloaked