ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Variables
$
c
d
e
f
g
h
i
j
l
m
n
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
§
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
§
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Modules
Pages
Random.php
Go to the documentation of this file.
1
<?
php
2
namespace
SimpleSAML\Utils
;
3
9
class
Random
10
{
11
15
const
ID_LENGTH
= 43;
16
26
public
static
function
generateID
()
27
{
28
return
'_'
.bin2hex(openssl_random_pseudo_bytes((
int
)((self::ID_LENGTH - 1)/2)));
29
}
30
}
SimpleSAML\Utils\Random\generateID
static generateID()
Generate a random identifier, ID_LENGTH bytes long.
Definition:
Random.php:26
SimpleSAML\Utils
Definition:
Arrays.php:2
Random
Pure-PHP Random Number Generator.
SimpleSAML\Utils\Random\ID_LENGTH
const ID_LENGTH
The fixed length of random identifiers.
Definition:
Random.php:15
php
libs
composer
vendor
simplesamlphp
simplesamlphp
lib
SimpleSAML
Utils
Random.php
Generated on Sun Apr 20 2025 19:01:24 for ILIAS by
1.8.13 (using
Doxyfile
)