Use $HEX[...] in case the password includes the separater character, increases potfile reading performance
This commit is contained in:
@@ -79,7 +79,6 @@ but this is nededed for VS compiler which doesn't have inline keyword but has __
|
||||
#define SPEED_MAXAGE 4096
|
||||
#define BLOCK_SIZE 64
|
||||
#define EXPECTED_ITERATIONS 10000
|
||||
#define MAX_CUT_TRIES 4
|
||||
|
||||
#if defined (_WIN)
|
||||
#define EOL "\r\n"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
bool need_hexify (const u8 *buf, const int len, bool always_ascii);
|
||||
bool need_hexify (const u8 *buf, const int len, const char separator, bool always_ascii);
|
||||
void exec_hexify (const u8 *buf, const int len, u8 *out);
|
||||
|
||||
bool is_valid_hex_char (const u8 c);
|
||||
|
||||
Reference in New Issue
Block a user