mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-27 08:43:17 +00:00
19 lines
280 B
PHP
Executable file
19 lines
280 B
PHP
Executable file
<?php
|
|
|
|
namespace App\Util\HttpSignatures;
|
|
|
|
interface AlgorithmInterface
|
|
{
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function name();
|
|
|
|
/**
|
|
* @param string $key
|
|
* @param string $data
|
|
*
|
|
* @return string
|
|
*/
|
|
public function sign($key, $data);
|
|
}
|