From 84731f551b02dc6b772a0e3f39c9618817321603 Mon Sep 17 00:00:00 2001 From: Lord Rajkumar Date: Mon, 20 May 2024 00:52:59 +0530 Subject: [PATCH] Delete beta.cpp --- beta.cpp | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 beta.cpp diff --git a/beta.cpp b/beta.cpp deleted file mode 100644 index 5f3bb93..0000000 --- a/beta.cpp +++ /dev/null @@ -1,18 +0,0 @@ -// string hashStringToSHA256(const std::string& input) { -// // Create a buffer to hold the SHA-256 hash -// unsigned char hash[SHA256_DIGEST_LENGTH]; - -// // Compute the SHA-256 hash -// SHA256_CTX sha256; -// SHA256_Init(&sha256); -// SHA256_Update(&sha256, input.c_str(), input.size()); -// SHA256_Final(hash, &sha256); - -// // Convert the hash to a hex string -// std::ostringstream hexStream; -// for (int i = 0; i < SHA256_DIGEST_LENGTH; ++i) { -// hexStream << std::hex << std::setw(2) << std::setfill('0') << static_cast(hash[i]); -// } - -// return hexStream.str(); -// } \ No newline at end of file