1
0
Fork 0
forked from mirror/pixelfed
pixelfed/app/Util/HTTPSignatures/AlgorithmInterface.php
2018-11-18 20:33:10 -07:00

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);
}