Soshot/app/Controllers/GenHmac.php

8 lines
152 B
PHP
Raw Normal View History

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