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:
.vscode | ||
.gitignore | ||
Encryption.cpp | ||
LICENSE | ||
README.md |
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:
- 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: