blob: cb260ecc6611c57535a3e4de1ce780b8d8424957 (
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
|
Extension [ <persistent> extension #105 xpass version 1.1.0 ] {
- Constants [16] {
Constant [ string CRYPT_PREFIX_STD_DES ] { }
Constant [ string CRYPT_PREFIX_EXT_DES ] { _ }
Constant [ string CRYPT_PREFIX_MD5 ] { $1$ }
Constant [ string CRYPT_PREFIX_BLOWFISH ] { $2y$ }
Constant [ string CRYPT_PREFIX_SHA256 ] { $5$ }
Constant [ string CRYPT_PREFIX_SHA512 ] { $6$ }
Constant [ string CRYPT_PREFIX_SCRYPT ] { $7$ }
Constant [ string CRYPT_PREFIX_GOST_YESCRYPT ] { $gy$ }
Constant [ string CRYPT_PREFIX_YESCRYPT ] { $y$ }
Constant [ int CRYPT_SALT_OK ] { 0 }
Constant [ int CRYPT_SALT_INVALID ] { 1 }
Constant [ int CRYPT_SALT_METHOD_DISABLED ] { 2 }
Constant [ int CRYPT_SALT_METHOD_LEGACY ] { 3 }
Constant [ int CRYPT_SALT_TOO_CHEAP ] { 4 }
Constant [ string PASSWORD_SHA512 ] { 6 }
Constant [ string PASSWORD_YESCRYPT ] { y }
}
- Functions {
Function [ <internal:xpass> function crypt_gensalt ] {
- Parameters [2] {
Parameter #0 [ <optional> ?string $prefix = null ]
Parameter #1 [ <optional> int $count = 0 ]
}
- Return [ ?string ]
}
Function [ <internal:xpass> function crypt_preferred_method ] {
- Parameters [0] {
}
- Return [ ?string ]
}
Function [ <internal:xpass> function crypt_checksalt ] {
- Parameters [1] {
Parameter #0 [ <required> string $salt ]
}
- Return [ int ]
}
}
}
|