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:
Go to file Use this template
2024-12-13 10:43:13 +03:00
.vscode created docstring 2024-12-13 10:43:13 +03:00
.gitignore Initial commit 2024-12-13 06:35:05 +00:00
Encryption.cpp created docstring 2024-12-13 10:43:13 +03:00
LICENSE Initial commit 2024-12-13 06:35:05 +00:00
README.md created docstring 2024-12-13 10:43:13 +03:00

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: