ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
ShortenedSHA1.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\FileDelivery\Token\Signer\Algorithm
;
22
26
class
ShortenedSHA1
implements
Algorithm
27
{
28
public
function
getName
(): string
29
{
30
return
'sha1'
;
31
}
32
33
public
function
after
(
string
$signature): string
34
{
35
return
substr($signature, 0, 8);
36
}
37
38
}
ILIAS\FileDelivery\Token\Signer\Algorithm\ShortenedSHA1
Definition:
ShortenedSHA1.php:27
ILIAS\FileDelivery\Token\Signer\Algorithm\ShortenedSHA1\getName
getName()
Definition:
ShortenedSHA1.php:28
ILIAS\FileDelivery\Token\Signer\Algorithm\ShortenedSHA1\after
after(string $signature)
Definition:
ShortenedSHA1.php:33
ILIAS\FileDelivery\Token\Signer\Algorithm\Algorithm
Definition:
Algorithm.php:27
ILIAS\FileDelivery\Token\Signer\Algorithm
Definition:
Algorithm.php:21
components
ILIAS
FileDelivery
src
Token
Signer
Algorithm
ShortenedSHA1.php
Generated on Sat Oct 18 2025 23:03:03 for ILIAS by
1.9.4 (using
Doxyfile
)