mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-22 05:31:11 +00:00
Update s_lookup/s_lookup_optimized tables
This commit is contained in:
parent
b3def20527
commit
d37d26de74
@ -30,16 +30,27 @@
|
||||
|
||||
CONSTANT_AS u8 s_lookup[128] =
|
||||
{
|
||||
[0 ... 31] = 0, // control characters
|
||||
[32] = 1, // whitespace
|
||||
[33 ... 47] = 1, // from '!' to '/'
|
||||
[48 ... 57] = 0, // digits
|
||||
[58 ... 64] = 1, // from ':' to '@'
|
||||
[65 ... 90] = 0, // uppercase
|
||||
[91 ... 96] = 1, // from '[' to '`'
|
||||
[97 ... 122] = 0, // lowercase
|
||||
[123 ... 126] = 1, // from '{' to '~'
|
||||
[127] = 0 // del
|
||||
// 0-31: control characters (0)
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
// 32: whitespace (1)
|
||||
1,
|
||||
// 33-47: punctuation (1)
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
// 48-57: digits (0)
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
// 58-64: punctuation (1)
|
||||
1, 1, 1, 1, 1, 1, 1,
|
||||
// 65-90: uppercase letters (0)
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
// 91-96: punctuation (1)
|
||||
1, 1, 1, 1, 1, 1,
|
||||
// 97-122: lowercase letters (0)
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
// 123-126: punctuation (1)
|
||||
1, 1, 1, 1,
|
||||
// 127: DEL (0)
|
||||
0
|
||||
};
|
||||
|
||||
HC_INLINE bool is_l (u8 c)
|
||||
|
@ -15,16 +15,27 @@
|
||||
|
||||
CONSTANT_AS u8 s_lookup_optimized[128] =
|
||||
{
|
||||
[0 ... 31] = 0, // control characters
|
||||
[32] = 1, // whitespace
|
||||
[33 ... 47] = 1, // from '!' to '/'
|
||||
[48 ... 57] = 0, // digits
|
||||
[58 ... 64] = 1, // from ':' to '@'
|
||||
[65 ... 90] = 0, // uppercase
|
||||
[91 ... 96] = 1, // from '[' to '`'
|
||||
[97 ... 122] = 0, // lowercase
|
||||
[123 ... 126] = 1, // from '{' to '~'
|
||||
[127] = 0 // del
|
||||
// 0-31: control characters (0)
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
// 32: whitespace (1)
|
||||
1,
|
||||
// 33-47: punctuation (1)
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
// 48-57: digits (0)
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
// 58-64: punctuation (1)
|
||||
1, 1, 1, 1, 1, 1, 1,
|
||||
// 65-90: uppercase letters (0)
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
// 91-96: punctuation (1)
|
||||
1, 1, 1, 1, 1, 1,
|
||||
// 97-122: lowercase letters (0)
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
// 123-126: punctuation (1)
|
||||
1, 1, 1, 1,
|
||||
// 127: DEL (0)
|
||||
0
|
||||
};
|
||||
|
||||
HC_INLINE bool is_l (u8 c)
|
||||
|
Loading…
Reference in New Issue
Block a user