Add simple algorithm for converting result hash to password
This commit is contained in:
parent
b3d2d92c81
commit
395b11b807
6 changed files with 80 additions and 3 deletions
12
lib/util/hashtopass.h
Normal file
12
lib/util/hashtopass.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "scrypt_platform.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "warn.h"
|
||||
|
||||
void hashtopass(char* p, size_t len, uint8_t* key);
|
Reference in a new issue