summaryrefslogtreecommitdiffstats
path: root/xpass.stub.php
blob: 68718da78888cc26833aa66a821f1b85b0e1aae2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php

/**
 * @generate-class-entries
 * @generate-legacy-arginfo 80000
 */


/** @var string */
const CRYPT_PREFIX_STD_DES = '';
/** @var string */
const CRYPT_PREFIX_EXT_DES = '_';
/** @var string */
const CRYPT_PREFIX_MD5 = '$1$';
/** @var string */
const CRYPT_PREFIX_BLOWFISH = '$2y$';
/** @var string */
const CRYPT_PREFIX_SHA256 = '$5$';
/** @var string */
const CRYPT_PREFIX_SHA512 = '$6$';
/** @var string */
const CRYPT_PREFIX_SCRYPT = '$7$';
/** @var string */
const CRYPT_PREFIX_GOST_YESCRYPT = '$gy$';
/** @var string */
const CRYPT_PREFIX_YESCRYPT = '$y$';

/**
 * @var int
 * @cvalue CRYPT_SALT_OK
 */
const CRYPT_SALT_OK = UNKNOWN;
/**
 * @var int
 * @cvalue CRYPT_SALT_INVALID
 */
const CRYPT_SALT_INVALID = UNKNOWN;
/**
 * @var int
 * @cvalue CRYPT_SALT_METHOD_DISABLED
 */
const CRYPT_SALT_METHOD_DISABLED = UNKNOWN;
/**
 * @var int
 * @cvalue CRYPT_SALT_METHOD_LEGACY
 */
const CRYPT_SALT_METHOD_LEGACY = UNKNOWN;
/**
 * @var int
 * @cvalue CRYPT_SALT_TOO_CHEAP
 */
const CRYPT_SALT_TOO_CHEAP = UNKNOWN;


function crypt_gensalt(?string $prefix = null, int $count = 0): ?string {}

function crypt_preferred_method(): ?string {}

function crypt_checksalt(string $salt): int {}