{"id":20125766,"url":"https://github.com/radeelahmad/ceaser-cypher","last_synced_at":"2026-05-09T21:35:37.873Z","repository":{"id":249783566,"uuid":"832543821","full_name":"RadeelAhmad/Ceaser-Cypher","owner":"RadeelAhmad","description":"Encryption and decryption in Assembly language using the Irvine32 library","archived":false,"fork":false,"pushed_at":"2024-08-10T19:14:51.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T08:12:04.365Z","etag":null,"topics":["asm","assambly","ceasar-cipher","encryption-decryption"],"latest_commit_sha":null,"homepage":"","language":"Assembly","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/RadeelAhmad.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-07-23T08:33:06.000Z","updated_at":"2025-01-09T09:38:03.000Z","dependencies_parsed_at":"2025-01-13T08:10:59.165Z","dependency_job_id":"0b96903f-ee31-4ec0-969b-f861c40f6e70","html_url":"https://github.com/RadeelAhmad/Ceaser-Cypher","commit_stats":null,"previous_names":["radeelahmad/ceaser-cypher"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadeelAhmad%2FCeaser-Cypher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadeelAhmad%2FCeaser-Cypher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadeelAhmad%2FCeaser-Cypher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadeelAhmad%2FCeaser-Cypher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RadeelAhmad","download_url":"https://codeload.github.com/RadeelAhmad/Ceaser-Cypher/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241570920,"owners_count":19984002,"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":["asm","assambly","ceasar-cipher","encryption-decryption"],"created_at":"2024-11-13T20:09:53.107Z","updated_at":"2025-11-28T21:05:46.153Z","avatar_url":"https://github.com/RadeelAhmad.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ceaser Cypher\nThis project implements Caesar Cipher encryption and decryption in Assembly language using the Irvine32 library. The program allows users to input a text file and a shift key, then either encrypts or decrypts the text based on the user's choice.\n\n## Group Members\n- [Radeel Ahmed](https://github.com/RadeelAhmad)\n- [Muhammad Abdullah](https://github.com/iabdullah215)\n\n## Project Structure\n- `Irvine32.inc` and `macros.inc` are included for basic I/O operations.\n- `BUFFER_SIZE` is set to 100 bytes to handle input data.\n- `data` section contains necessary variables and prompts for user input.\n- `code` section contains the main procedure and encryption/decryption logic.\n\n## How to Run the Program\n\n- **Compile and Link:** Use an assembler like MASM to compile and link the program.\n\n```bash\nml /c /coff yourfilename.asm\nlink /subsystem:console yourfilename.obj Irvine32.lib\n```\n- **Execute the Program:** Run the compiled executable.\n\n```bash\nyourfilename.exe\n```\n\n- **Input Filename:** Enter the name of the input file containing the plaintext or ciphertext.\n\n- Select Choice:\n`Enter 1 for encryption.`\n`Enter 2 for decryption.`\n\n- **Enter Shift:** Input the shift key (a numerical value) for the Caesar Cipher.\n\n- **View Results:** The program will display the ciphertext if you selected encryption or the plaintext if you selected decryption.\n\n# Detailed Description\n## Main Procedure\n- Displays the project title and group member names.\n- Prompts the user for the input filename.\n- Opens the specified file and reads its contents into a buffer.\n- Asks the user to choose between encryption and decryption.\n- Prompts the user to enter a shift key for the Caesar Cipher.\n\n## Encryption\n- Iterates over each character in the buffer.\n- Checks if the character is uppercase or lowercase.\n- Applies the Caesar Cipher shift to each letter.\n- Stores the encrypted characters in an array.\n- Displays the resulting ciphertext.\n\n## Decryption\n- Iterates over each character in the buffer.\n- Checks if the character is uppercase or lowercase.\n- Applies the reverse Caesar Cipher shift to each letter.\n- Stores the decrypted characters in an array.\n- Displays the resulting plaintext.\n\n## Example\n\n```console\n***********************\nProject Caesar Cipher\n***********************\n\n---------------------------------------------------\nGroup Members\nRadeel Ahmad - 221544\nMuhammad Abdullah - 221546\n-----------------------------------------------------\n\nEnter an input filename: input.txt\nSelect Choice\n1. For encryption\n2. For decryption\nEnter shift: 3\n\nPlaintext is: HELLO\nCiphertext is: KHOOR\n```\n\n## Notes\n- Ensure the input file exists in the same directory as the executable.\n- The shift key should be a positive integer.\n- The program only processes alphabetic characters; other characters are left unchanged.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradeelahmad%2Fceaser-cypher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradeelahmad%2Fceaser-cypher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradeelahmad%2Fceaser-cypher/lists"}