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