8 lines
154 B
PHP
8 lines
154 B
PHP
|
<?php
|
||
|
namespace App\Controllers;
|
||
|
|
||
|
class GenHmac {
|
||
|
function index($params, $conf) {
|
||
|
echo hash_hmac('sha1', $params->url, $conf['key']);
|
||
|
}
|
||
|
}
|