{"id":26212288,"url":"https://github.com/foncki/aes-visualization","last_synced_at":"2025-07-29T13:11:51.264Z","repository":{"id":280290490,"uuid":"941411875","full_name":"fonCki/aes-visualization","owner":"fonCki","description":"An interactive Next.js 13 + TypeScript application that demonstrates AES-128 encryption step by step. Enter plaintext and a 128-bit key (or generate one randomly) to watch each round’s transformations—SubBytes, ShiftRows, MixColumns, and AddRoundKey—unfold in a 4×4 state matrix. Perfect for learning or teaching the internals of AES.","archived":false,"fork":false,"pushed_at":"2025-03-05T10:59:19.000Z","size":183,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T08:36:04.808Z","etag":null,"topics":["aes","aes-encryption","cryptography","nextjs"],"latest_commit_sha":null,"homepage":"https://aes.ridao.ar/","language":"TypeScript","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/fonCki.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-03-02T08:17:22.000Z","updated_at":"2025-03-05T11:04:31.000Z","dependencies_parsed_at":"2025-03-02T16:15:08.130Z","dependency_job_id":null,"html_url":"https://github.com/fonCki/aes-visualization","commit_stats":null,"previous_names":["foncki/aes-visualization"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fonCki/aes-visualization","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fonCki%2Faes-visualization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fonCki%2Faes-visualization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fonCki%2Faes-visualization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fonCki%2Faes-visualization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fonCki","download_url":"https://codeload.github.com/fonCki/aes-visualization/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fonCki%2Faes-visualization/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267693357,"owners_count":24129133,"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-07-29T02:00:12.549Z","response_time":2574,"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":["aes","aes-encryption","cryptography","nextjs"],"created_at":"2025-03-12T08:29:32.940Z","updated_at":"2025-07-29T13:11:50.792Z","avatar_url":"https://github.com/fonCki.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AES Visualization \u0026 Debugging Tool\n\n**Live Demo:** [aes.ridao.ar](https://aes.ridao.ar)\n\nA simple **AES-128** visualization tool to see **key expansion** and **encryption rounds** step by step.\n\n## Features\n\n- **Key Expansion** (AES-128): Shows round keys, including Rcon, S-box, and XOR steps.\n- **Encryption Rounds**:\n    - Round 0: AddRoundKey\n    - Rounds 1–9: SubBytes → ShiftRows → MixColumns → AddRoundKey\n    - Round 10: SubBytes → ShiftRows → AddRoundKey\n- **No Padding, ECB Mode** by default (plaintext must be exactly 16 bytes).\n- **Comparison** with CryptoJS for verification.\n\n## Installation \u0026 Setup\n\n```bash\ngit clone https://github.com/yourusername/aes-visualization.git\ncd aes-visualization\nnpm install\nnpm run dev\n# Then open http://localhost:3000\n```\n\n## Usage\n\n1. Enter **plaintext** and **key** (hex or text).\n2. Choose **AES mode** (ECB, CBC, CTR) and **padding** (PKCS#7, ANSI X.923, or None).\n3. Click **Encrypt** to see step-by-step AES operations.\n4. Click **Key Expansion** to view each round key.\n\n## Usage\n\n1. Enter **plaintext** and **key** (hex or text).\n2. Choose **AES mode** (ECB, CBC, CTR) and **padding** (PKCS#7, ANSI X.923, or None).\n3. Click **Encrypt** to see step-by-step AES operations.\n4. Click **Key Expansion** to view each round key.\n\n## Example: \"Hello, AES!\" (No Padding, ECB)\n\n- **Plaintext**: 11 bytes + 5 zeros → 16 bytes\n- **Key (hex)**: `07 0e a6 e5 c4 da 1a 15 8d 78 15 e2 48 b1 e1 a4`\n- **Final Ciphertext** (Hex): `625fee822733b8eae1aada3dc31a272f`\n- **Final Ciphertext** (Base64): `625fee822733b8eae1aada3dc31a272f`\n-  **Final Ciphertext** (Binary): `0110001001011111111011101000001000100111001100111011100011101010111000011010101011011010`\n\n## About 01410 Cryptography 1 at DTU\n\n- Covers **block ciphers** (AES), **RSA**, **discrete logarithm**, **LWE**, and more.\n- This tool is **unofficial** and purely for **educational** use.\n\n## Authors\n\n- [Alfonso Ridao](https://alfonso.ridao.ar)\n- For support, email alfonso@ridao.ar.\n\n\n## 🚀 About Me\nI'm a time traveler\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoncki%2Faes-visualization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoncki%2Faes-visualization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoncki%2Faes-visualization/lists"}