# Release_Signature::verify()

Whether a signature verifies against any trusted key.

```php
verify( string $slug, string $version, string $sha256, string $signature, array $keys ): bool
```

## Parameters

- `$slug` (string) Plugin slug.
- `$version` (string) Release version.
- `$sha256` (string) SHA-256 (hex) of the downloaded file.
- `$signature` (string) Base64 detached signature from the server.
- `$keys` (string[]) Base64 Ed25519 public keys.

## Return

`bool` 

## Changelog

| Version | Description |
| --- | --- |
| 1.6.0 | Introduced |
