funsoul/funcipher

Custom random ciphertext

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

pkg:composer/funsoul/funcipher

2.0 2018-02-03 11:49 UTC

This package is not auto-updated.

Last update: 2025-10-04 02:09:31 UTC


README

Custom random ciphertext

Install

composer require "funsoul/funcipher: 2.0"

Usage

Global Variable

CIPHER_USE_LOWER
CIPHER_USE_CAPITAL
CIPHER_USE_NUMBER
CIPHER_USE_SPECIAL

create()

use Funsoul\Funcipher\Funcipher;

$cipher = new Funcipher();
echo $cipher->create(10);
// ,+T=!V67|E

ignore()

use Funsoul\Funcipher\Funcipher;

$cipher = new Funcipher();
echo $cipher->ignore(['a',1,3,5,7])->create(10);
// w0/22S0i2~

Customize code

use Funsoul\Funcipher\Funcipher;

$cipher = new Funcipher();
echo $cipher->ignore([1,3,5,7])->create(10,[CIPHER_USE_NUMBER]);
// 4288062890

License

MIT