diff --git a/rainbowvalue.h b/rainbowvalue.h index 088057e..2773264 100644 --- a/rainbowvalue.h +++ b/rainbowvalue.h @@ -3,7 +3,7 @@ #define rainbowvalue #define MAX_PW_LEN 64 struct s_rainbowvalue256 { - char * pw; + char pw[MAX_PW_LEN]; uint8_t hash[32]; // 32 * 8bit = 256 bit }; diff --git a/readBulk.c b/readBulk.c index 76d94fe..e36a056 100644 --- a/readBulk.c +++ b/readBulk.c @@ -14,4 +14,7 @@ size_t getHashBulk(FILE *fptr, struct s_rainbowvalue256 rs[BULKSIZE]){ } size_t writeHashHumanReadable(FILE *fptr, struct s_rainbowvalue256 rs[BULKSIZE]){ return 0; +} +size_t writeHashBase64(FILE *fptr,size_t num ,struct s_rainbowvalue256 rs[BULKSIZE]){ + } \ No newline at end of file diff --git a/readBulk.h b/readBulk.h index 88e0339..90fb2ac 100644 --- a/readBulk.h +++ b/readBulk.h @@ -37,6 +37,6 @@ size_t writeHashHumanReadable(FILE *fptr, struct s_rainbowvalue256 rs[BULKSIZE]) * @param rs * @return */ -size_t writeHashBase64(FILE *fptr, struct s_rainbowvalue256 rs[BULKSIZE]); +size_t writeHashBase64(FILE *fptr,size_t num, struct s_rainbowvalue256 rs[BULKSIZE]); #endif \ No newline at end of file