implemented new why2_sha256 in client
This commit is contained in:
parent
ea1bb6789e
commit
be15fcd2f6
@ -279,7 +279,7 @@ int main(void)
|
|||||||
//REMOVE \n AT THE END OF line
|
//REMOVE \n AT THE END OF line
|
||||||
line[strlen(line) - 1] = '\0';
|
line[strlen(line) - 1] = '\0';
|
||||||
|
|
||||||
char *hash = why2_sha256(line); //HASHISH
|
char *hash = why2_sha256(line, strlen(line)); //HASHISH
|
||||||
|
|
||||||
why2_send_socket(hash, NULL, listen_socket); //SEND BUT HASHED
|
why2_send_socket(hash, NULL, listen_socket); //SEND BUT HASHED
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user