implemented new why2_sha256 in client

This commit is contained in:
Václav Šmejkal 2025-02-01 14:38:14 +01:00
parent ea1bb6789e
commit be15fcd2f6
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -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