src/includes/classes/Core/Utils/Cookie.php
public function get(string $name, string $key = null): string
    {
        if (!$name) { // Must have a cookie name!
            throw $this->c::issue('Missing cookie name.');
            //
        } elseif (!$key && !($key = $this->App->Config->©cookies['©encryption_key'])) {
            throw $this->c::issue('Missing cookie encryption key.');
        }
        if (isset($_COOKIE[$name]) && is_string($_COOKIE[$name])) {
            return $this->c::decrypt($_COOKIE[$name], $key);
        }
        return ''; // Missing cookie.
    }
public function get(string $name, string $key = null): string
    {
        if (!$name) { // Must have a cookie name!
            throw $this->c::issue('Missing cookie name.');
            //
        } elseif (!$key && !($key = $this->App->Config->©cookies['©encryption_key'])) {
            throw $this->c::issue('Missing cookie encryption key.');
        }
        if (isset($_COOKIE[$name]) && is_string($_COOKIE[$name])) {
            return $this->c::decrypt($_COOKIE[$name], $key);
        }
        return ''; // Missing cookie.
    }
Gets an encrypted cookie value.

@param string      $name Name of the cookie.
@param string|null $key  Encryption key.

@return string Cookie value (decrypted).