From b836bf47d76bc655023faa1d0ab87ba14b4fd8bf Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 1 Sep 2024 20:39:36 +0200 Subject: [PATCH] declared why2_sha256 --- include/chat/crypto.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/chat/crypto.h b/include/chat/crypto.h index 858ca73..4ee5cdd 100644 --- a/include/chat/crypto.h +++ b/include/chat/crypto.h @@ -44,6 +44,8 @@ char *why2_get_chat_d(void); //GET THE RSA d char *why2_chat_rsa_pub_encrypt(char *to_encrypt); //RSA ENCRYPT USING PUBLIC KEY char *why2_chat_rsa_pri_decrypt(char *to_decrypt); //RSA DECRYPT USING PRIVATE KEY +char *why2_sha256(char *input); //HASH input USING SHA256 AND RETURN IN STRING + #ifdef __cplusplus } #endif