/
passwordType.go
57 lines (54 loc) · 2.19 KB
/
passwordType.go
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
package enzoic
// PasswordType is an enum of the different password hashing algorithms that Enzoic has picked up breaches containing.
// It is used as an informational field in certain responses and can be used with the CheckCredentialsEx function to
// specify which algorithms should be excluded from its checks, to optimize performance.
type PasswordType int32
const (
Plaintext PasswordType = 0
MD5 = 1
SHA1 = 2
SHA256 = 3
TripleDES = 4
IPBoard_MyBB = 5
vBulletinPre3_8_5 = 6
vBulletinPost3_8_5 = 7
BCrypt = 8
CRC32 = 9
PHPBB3 = 10
CustomAlgorithm1 = 11
SCrypt = 12
CustomAlgorithm2 = 13
SHA512 = 14
CustomAlgorithm3 = 15
MD5Crypt = 16
CustomAlgorithm4 = 17
CustomAlgorithm5 = 18
osCommerce_AEF = 19
DESCrypt = 20
MySQLPre4_1 = 21
MySQLPost4_1 = 22
PeopleSoft = 23
PunBB = 24
CustomAlgorithm6 = 25
PartialMD5_20 = 26
AVE_DataLife_Diferior = 27
DjangoMD5 = 28
DjangoSHA1 = 29
PartialMD5_29 = 30
PliggCMS = 31
RunCMS_SMF1_1 = 32
NTLM = 33
SHA1Dash = 34
SHA384 = 35
CustomAlgorithm7 = 36
CustomAlgorithm8 = 37
CustomAlgorithm9 = 38
SHA512Crypt = 39
CustomAlgorithm10 = 40
HMACSHA1_SaltAsKey = 41
AuthMeSHA256 = 42
SHA256Crypt = 43
Unknown = 97
UnusablePassword = 98
None = 99
)