funsoul / funcipher
Custom random ciphertext
2.0
2018-02-03 11:49 UTC
Requires
- php: >=5.3
This package is not auto-updated.
Last update: 2024-10-04 20:59:39 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