Soshot/app/Controllers/GenHmac.php

8 lines
154 B
PHP
Raw Normal View History

2023-06-21 11:42:36 +02:00
<?php
namespace App\Controllers;
class GenHmac {
function index($params, $conf) {
echo hash_hmac('sha1', $params->url, $conf['key']);
}
}