Sha256EncryptionInCpp/README.md
2024-12-13 10:43:13 +03:00

11 lines
555 B
Markdown

# Sha256EncryptionInCpp
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:
1. Prompts the user to enter a string.
2. Reads the input string from the standard input (using getline).
3. 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: