Updated 2025-03-28 20:20:50 +00:00
Updated 2025-03-28 20:05:23 +00:00
Updated 2024-12-22 20:19:56 +00:00
Sha256 encryption program written in C++. This C++ program is designed to compute the SHA-256 hash of a user-provided string. Here's a breakdown of how it works: Prompts the user to enter a string. Reads the input string from the standard input (using getline). Calls the SHA256 function with the user-provided string and prints the resulting SHA-256 hash. Usage example: cd "/VSCodeLibrary/C++/" && g++ Encryption.cpp -o Encryption -lssl -lcrypto && "/VSCodeLibrary/C++/"Encryption Enter a string to encrypt:
Updated 2024-12-13 07:44:18 +00:00
The RegistryCRUD.cpp program demonstrates how to perform basic operations on the Windows Registry using the native API. The program performs the following CRUD (Create, Read, Update, Delete) operations on a registry key: 1. Open Key: It opens a registry key for the current user's application settings. 2. Create Value: It creates a new registry value with the name "MySetting" and sets its data to "MyValue". 3. Read Value: It reads the value of "MySetting" from the registry and prints it. 4. Modify Value: It modifies the value of "MySetting" to "MyNewValue". 5. Delete Value: It deletes the value of "MySetting" from the registry.
Updated 2024-12-13 07:37:07 +00:00