src/Leevel/Encryption/Provider/Register.php
public function register(): void
    {
        $this->container->singleton('encryption', function (IContainer $container) {
            $option = $container['option'];

            return new Encryption(
                $option['auth_key'], $option['auth_cipher'],
                $option['auth_rsa_private'], $option['auth_rsa_public']
            );
        });
    }
public function register(): void
    {
        $this->container->singleton('encryption', function (IContainer $container) {
            $option = $container['option'];

            return new Encryption(
                $option['auth_key'], $option['auth_cipher'],
                $option['auth_rsa_private'], $option['auth_rsa_public']
            );
        });
    }
注册服务.