<?php

namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use App\Support\LegacyCrypto\CiSeedCrypto;

class AppServiceProvider extends ServiceProvider
{
    public function register(): void
    {
        $this->app->singleton(CiSeedCrypto::class, function () {
            return new CiSeedCrypto(
                config('legacy.seed_user_key_default'),
                config('legacy.iv'),
            );
        });
    }

    public function boot(): void
    {
        //
    }
}
