Based on a discipline that was using an old version of the openssl library for hash generation with sha256, this solution was proposed to replace the hash generator with the library currently in use.
- Openssl library in the most current version.
- Windows: Using Msys2.
- Linux: sudo apt-get install libssl-dev or other variations.
- To Compile: _g++ -std=c++17 _.cpp -o main.out -lcrypto_
- To Run: ./main.out
Imagem retirada de: https://cacadoresdelendas.com.br/japao/kitsunes-a-raposa-de-muitas-caudas/
Teste de Execução do código no VSCode. Verificação do hash obtido no terminal do Manjaro Linux. |
- On GitHub.com, navigate to the repository's main page.
- Above the list of files, click code.
- To clone the repository using HTTPS, under "Clone with HTTPS", click 📋. To clone the repository using an SSH key, including a certificate issued by your organization's SSH certificate authority, click Use SSH, then click 📋. To clone a repository using GitHub CLI, click Use GitHub CLI, then click 📋.
- Open Git Bash.
- Type git clone (clone git) and paste the URL you copied earlier.
$ git clone git@github.com:theHprogrammer/SHA256_EVP.git
- Press Enter to create your local clone.
"Este projeto está licenciado nos termos da licença MIT."
Helder Henrique |