{"id":24503957,"url":"https://github.com/laxical/openssl-evp-cpp","last_synced_at":"2025-09-03T09:32:53.365Z","repository":{"id":273390736,"uuid":"919576410","full_name":"Laxical/openssl-evp-cpp","owner":"Laxical","description":"This is a introduction project showcasing how to use the OpenSSL EVP API (openssl/evp.h) for implementing various cryptographic techniques using C++.","archived":false,"fork":false,"pushed_at":"2025-02-01T03:03:04.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T08:25:42.804Z","etag":null,"topics":["cpp","makefile","openssl-evp"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Laxical.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-20T16:38:33.000Z","updated_at":"2025-02-01T03:03:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"68012023-5a71-4361-9758-6626707aed83","html_url":"https://github.com/Laxical/openssl-evp-cpp","commit_stats":null,"previous_names":["laxical/openssl-evp-cpp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Laxical/openssl-evp-cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Laxical%2Fopenssl-evp-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Laxical%2Fopenssl-evp-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Laxical%2Fopenssl-evp-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Laxical%2Fopenssl-evp-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Laxical","download_url":"https://codeload.github.com/Laxical/openssl-evp-cpp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Laxical%2Fopenssl-evp-cpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273423142,"owners_count":25103140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","makefile","openssl-evp"],"created_at":"2025-01-21T23:19:15.494Z","updated_at":"2025-09-03T09:32:53.351Z","avatar_url":"https://github.com/Laxical.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenSSL-EVP-C++\n\nThis project demonstrates how to use the OpenSSL EVP API (`openssl/evp.h`) in C++ to implement various cryptographic techniques. It serves as an introductory guide to the powerful features provided by OpenSSL's EVP API, covering the following areas:\n\n- **Hashing**: Securely hash data using various algorithms.\n- **Key Generation**: Create cryptographic keys for signing, encryption, and decryption tasks.\n- **Signing**: Use private keys to sign data for authentication purposes.\n- **Verifying**: Verify signatures to ensure data integrity and authenticity.\n\n---\n\n## Features\n- Comprehensive examples of hashing, signing, and verifying.\n- Demonstrates how to handle cryptographic key generation.\n- A clean and structured approach to using the EVP API in C++.\n\n---\n\n## Prerequisites\n\nEnsure the following dependencies are installed:\n\n### OpenSSL Installation\n\n#### On Ubuntu/Debian-based Systems:\n```bash\nsudo apt-get install openssl\n```\n\n#### On Arch-based Systems:\n```bash\nsudo pacman -S openssl\n```\n\n### Development Tools\n- GCC or Clang compiler\n- `make` utility\n\n---\n\n## Getting Started\n\n### Building the Program\n\n1. **Clean Previous Builds**\n   Remove any existing compiled files:\n   ```bash\n   make clean\n   ```\n\n2. **Compile the Program**\n   Build the main executable:\n   ```bash\n   make main\n   ```\n\n3. **Run the Program**\n   Execute the compiled program using:\n   ```bash\n   ./object/main\n   ```\n   Alternatively, you can use the following command:\n   ```bash\n   make exec\n   ```\n\n---\n\n## Example Usage\n\nDemonstrate cryptographic techniques like:\n- Hashing a message\n- Generating and saving cryptographic keys\n- Signing a message with a private key\n- Verifying the signature with a public key\n\nRefer to the source code for detailed examples.\n\n---\n\n## License\n\nThis project is licensed under both the OpenSSL License and the Apache License 2.0. For more details, refer to the LICENSE file or the links below:\n\n- [OpenSSL License](https://www.openssl.org/source/license.html)\n- [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\n---\n\n## Acknowledgments\n\nThis project utilizes the OpenSSL library, an industry-standard tool for secure communication and cryptographic operations.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaxical%2Fopenssl-evp-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaxical%2Fopenssl-evp-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaxical%2Fopenssl-evp-cpp/lists"}