Add simple algorithm for converting result hash to password

This commit is contained in:
Chris Oei 2012-09-03 13:55:29 -07:00
parent b3d2d92c81
commit 395b11b807
6 changed files with 80 additions and 3 deletions

12
lib/util/hashtopass.h Normal file
View 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);