<commit_before><?php
/**
 * This file belongs to the AnoynmFramework
 *
 * @author vahitserifsaglam <<EMAIL>>
 * @see http://gemframework.com
 *
 * Thanks for using
 */

namespace Anonym\Crypt;

use Anonym\Application\ServiceProvider;
use Anonym\Facades\Config;
use Anonym\Support\Arr;

/**
 * Class CrypterServiceProvider
 * @package Anonym\Crypt
 */
class CrypterServiceProvider extends ServiceProvider
{

    /**
     * register the provider
     *
     * @return mixed
     */
    public function register()
    {

        $this->singleton('crypt:anonym', function () {
            $crypter = new AnonymCrypt();
            $configs = Config::get('crypt');

            if(false !== $mode = Arr::get($configs, 'mode', false)){
                $crypter->setMode($mode);
            }

            if(false !== $rand = Arr::get($configs, 'rand', false)){
                $crypter->setRand($rand);
            }

            if(false !== $alogirtym = Arr::get($configs, 'alogirtym', false)){
                $crypter->setAlogirtym($alogirtym);
            }

            return $crypter;
        });
    }
}<commit_msg>made some updates<commit_after><?php
/**
 * This file belongs to the AnoynmFramework
 *
 * @author vahitserifsaglam <<EMAIL>>
 * @see http://gemframework.com
 *
 * Thanks for using
 */

namespace Anonym\Crypt;

use Anonym\Application\ServiceProvider;
use Anonym\Facades\Config;
use Anonym\Support\Arr;

/**
 * Class CrypterServiceProvider
 * @package Anonym\Crypt
 */
class CrypterServiceProvider extends ServiceProvider
{

    /**
     * register the provider
     *
     * @return mixed
     */
    public function register()
    {

        $this->singleton('crypt:anonym', function () {
            $crypter = new AnonymCrypt();
            $configs = Config::get('crypt');

            if(false !== $mode = Arr::get($configs, 'mode', false)){
                $crypter->setMode($mode);
            }

            if(false !== $rand = Arr::get($configs, 'rand', false)){
                $crypter->setRand($rand);
            }

            if(false !== $alogirtym = Arr::get($configs, 'alogirtym', false)){
                $crypter->setAlogirtym($alogirtym);
            }

            return $crypter;
        });


    }
}
{'fraction_non_alphanumeric': 0.14781834372217276, 'fraction_numerical': 0.0, 'mean_word_length': 2.205420827389444, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '359485', 'n_tokens_mistral': 715, 'n_tokens_neox': 679, 'n_words': 134}