<?php

declare(strict_types=1);

namespace PhpWA\Crypto;

interface XEdDsaInterface
{
    public function sign(string $curve25519PrivateKey, string $message, ?string $nonce = null): string;
    public function verify(string $curve25519PublicKey, string $message, string $signature): bool;
}
