ILIAS
trunk Revision v12.0_alpha-1221-g4e438232683
◀ ilDoc Overview
BinToHexSerializer.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\components\ResourceStorage
;
22
23
trait BinToHexSerializer
24
{
25
private
function
hash(
string
$string): string
26
{
27
return
bin2hex($string);
28
}
29
30
private
function
unhash(
string
$string): string
31
{
32
return
hex2bin($string);
33
}
34
}
ILIAS\components\ResourceStorage
Definition:
BinToHexSerializer.php:21
components
ILIAS
ResourceStorage
classes
BinToHexSerializer.php
Generated on Sun Apr 5 2026 23:03:38 for ILIAS by
1.9.4 (using
Doxyfile
)