{"id":19705589,"url":"https://github.com/furk4nbulut/julius-caesar-cryptography-algorithm","last_synced_at":"2026-06-09T18:31:45.399Z","repository":{"id":156383318,"uuid":"583138839","full_name":"Furk4nBulut/julius-Caesar-Cryptography-Algorithm","owner":"Furk4nBulut","description":" Java program implements the Julius Caesar's Cryptography Algorithm, also known as Caesar Cipher. The Caesar Cipher is a substitution cipher where each letter in the plaintext is shifted a fixed number of places down or up the alphabet.","archived":false,"fork":false,"pushed_at":"2024-08-10T08:01:38.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-27T17:31:38.916Z","etag":null,"topics":["algorithm","cryptography","java","julius-caesar-cryptography"],"latest_commit_sha":null,"homepage":"","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/Furk4nBulut.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":"2022-12-28T22:09:21.000Z","updated_at":"2024-11-24T05:59:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"05f83db7-360d-4716-9e34-d8c49c94e1ca","html_url":"https://github.com/Furk4nBulut/julius-Caesar-Cryptography-Algorithm","commit_stats":null,"previous_names":["furk4nbulut/julius-caesar-cryptography-algorithm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Furk4nBulut/julius-Caesar-Cryptography-Algorithm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Furk4nBulut%2Fjulius-Caesar-Cryptography-Algorithm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Furk4nBulut%2Fjulius-Caesar-Cryptography-Algorithm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Furk4nBulut%2Fjulius-Caesar-Cryptography-Algorithm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Furk4nBulut%2Fjulius-Caesar-Cryptography-Algorithm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Furk4nBulut","download_url":"https://codeload.github.com/Furk4nBulut/julius-Caesar-Cryptography-Algorithm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Furk4nBulut%2Fjulius-Caesar-Cryptography-Algorithm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34121021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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":["algorithm","cryptography","java","julius-caesar-cryptography"],"created_at":"2024-11-11T21:29:16.464Z","updated_at":"2026-06-09T18:31:45.363Z","avatar_url":"https://github.com/Furk4nBulut.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Julius Caesar's Cryptography Algorithm\n\nThis Java program implements the Julius Caesar's Cryptography Algorithm, also known as Caesar Cipher. The Caesar Cipher is a substitution cipher where each letter in the plaintext is shifted a fixed number of places down or up the alphabet.\n\n## Features\n\n- Encrypts a message by converting letters to their corresponding numeric values and applying a shift.\n- Decrypts the message by shifting the numeric values back to letters.\n- Validates the input message to ensure it contains only uppercase letters and spaces, and does not include invalid characters like Turkish letters.\n\n## Usage\n\n1. **Run the Program**\n\n   To run the program, compile the `Cryptography.java` file and execute it. The program will prompt you to enter a message to be encrypted.\n\n   ```sh\n   javac Cryptography.java\n   java Cryptography\n   ```\n\n2. **Input Message**\n\n   You will be asked to input a message. The message must only contain uppercase letters and spaces. The program will validate the input and prompt you to re-enter the message if it contains invalid characters.\n\n3. **Encryption**\n\n   After providing a valid message, the program will encrypt it by converting each letter to its corresponding position in the alphabet and shifting it by 3 positions.\n\n4. **Decryption**\n\n   The program will then decrypt the message, reversing the encryption process and displaying the original message.\n\n## Code Explanation\n\n### `takeMessage()`\nPrompts the user to input a message, converts it to uppercase, and validates it.\n\n### `control(String message)`\nValidates the input message to ensure it contains only uppercase letters and spaces. It also checks for invalid characters.\n\n### `encryptedMessage()`\nEncrypts the message by converting each letter to its corresponding numeric value and applying a shift of 3. Spaces are preserved.\n\n### `decryptedMessage()`\nDecrypts the message by reversing the encryption process. It shifts the numeric values back to letters and constructs the decrypted message.\n\n## Example\n\n```\nInput your message to convert:\nHELLO WORLD\nEncrypted version is: 7 4 11 11 14 22 14 17 11 3\nDecrypted version is: 10 7 14 14 17 25 17 20 14 6\n```\n\n## Note\n\n- The Caesar Cipher is a simple substitution cipher and is not suitable for secure communication.\n- Ensure that the input message does not contain lowercase letters, punctuation, or special characters.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffurk4nbulut%2Fjulius-caesar-cryptography-algorithm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffurk4nbulut%2Fjulius-caesar-cryptography-algorithm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffurk4nbulut%2Fjulius-caesar-cryptography-algorithm/lists"}