{"id":15866348,"url":"https://github.com/squidmin/java-cryptography-labs","last_synced_at":"2025-04-01T21:20:01.417Z","repository":{"id":235950487,"uuid":"791603015","full_name":"squidmin/java-cryptography-labs","owner":"squidmin","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-25T05:04:46.000Z","size":804,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T13:54:02.508Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/squidmin.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":"2024-04-25T02:44:26.000Z","updated_at":"2024-04-25T05:04:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"a96839bb-7302-4d89-84fb-c3f7f7d69a55","html_url":"https://github.com/squidmin/java-cryptography-labs","commit_stats":null,"previous_names":["squidmin/java-cryptography-labs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squidmin%2Fjava-cryptography-labs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squidmin%2Fjava-cryptography-labs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squidmin%2Fjava-cryptography-labs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squidmin%2Fjava-cryptography-labs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squidmin","download_url":"https://codeload.github.com/squidmin/java-cryptography-labs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709907,"owners_count":20821298,"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","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":[],"created_at":"2024-10-05T23:20:26.019Z","updated_at":"2025-04-01T21:20:01.401Z","avatar_url":"https://github.com/squidmin.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# java-cryptography-labs\n\nJava-based backend application built with Spring Boot. It provides robust API endpoints for encrypting and decrypting data using AES encryption standards. This application is designed to demonstrate secure cryptographic operations, suitable for educational purposes or as a base for more complex applications.\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\n\n### Prerequisites\n\n- JDK 17 or higher\n- Gradle 7.0 or higher\n\n### Installation\n\n1. **Clone the repository:**\n\n```bash\ngit clone https://github.com/squidmin/java-cryptography-labs.git\ncd java-cryptography-labs\n./gradlew build\n./gradlew bootRun\n```\n\nThe server will start running on http://localhost:8080.\n\n## Usage\n\nThe application provides the following RESTful endpoints:\n\n- **POST /api/crypto/encrypt** - Takes plain text and returns the encrypted data.\n- **POST /api/crypto/decrypt** - Takes encrypted text and returns the decrypted data.\n\nYou can use tools like Postman or cURL to interact with the API:\n\n**Encrypt data**:\n\n```bash\necho -n 'YourPlainText' | xargs -I {} curl -X POST http://localhost:8080/api/crypto/encrypt -H \"Content-Type: text/plain\" -d '{}'\n```\n\n**Decrypt data**:\n\n```bash\necho -n 'YourEncryptedText' | xargs -I {} curl -X POST http://localhost:8080/api/crypto/decrypt -H \"Content-Type: text/plain\" -d '{}'\n```\n\n![encrypt_decrypt.gif](docs%2Fimg%2Fencrypt_decrypt.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquidmin%2Fjava-cryptography-labs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquidmin%2Fjava-cryptography-labs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquidmin%2Fjava-cryptography-labs/lists"}