{"id":21429577,"url":"https://github.com/mayank-02/simplified-aes","last_synced_at":"2025-07-14T11:30:32.132Z","repository":{"id":188402710,"uuid":"319602063","full_name":"mayank-02/simplified-aes","owner":"mayank-02","description":"Implementation of a simplified version of the AES algorithm","archived":false,"fork":false,"pushed_at":"2024-07-15T06:13:48.000Z","size":367,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-15T07:36:32.671Z","etag":null,"topics":["advanced-encryption-standard","cryptography","educational","python","simplified-aes"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mayank-02.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-12-08T10:21:48.000Z","updated_at":"2024-07-15T06:13:51.000Z","dependencies_parsed_at":"2023-08-18T18:45:42.268Z","dependency_job_id":null,"html_url":"https://github.com/mayank-02/simplified-aes","commit_stats":null,"previous_names":["mayank-02/simplified-aes"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayank-02%2Fsimplified-aes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayank-02%2Fsimplified-aes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayank-02%2Fsimplified-aes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayank-02%2Fsimplified-aes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mayank-02","download_url":"https://codeload.github.com/mayank-02/simplified-aes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225971244,"owners_count":17553461,"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":["advanced-encryption-standard","cryptography","educational","python","simplified-aes"],"created_at":"2024-11-22T22:18:21.865Z","updated_at":"2024-11-22T22:18:22.344Z","avatar_url":"https://github.com/mayank-02.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simplified AES\n\nSimplified AES (S-AES) is an educational tool designed to help students learn the structure of AES using smaller blocks and keys.\n\n- Non-feistal block cipher\n- Plaintext: 16 bit\n- Key: 16 bit\n- Ciphertext: 16 bit\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"images/saes-structure.png\" alt=\"S-AES Structure\"/\u003e\n  \u003cbr\u003e\n  \u003ci\u003eSAES Structure\u003c/i\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"images/saes-key-expansion.png\" alt=\"S-AES Key Expansion\"/\u003e\n  \u003cbr\u003e\n  \u003ci\u003eKey Expansion\u003c/i\u003e\n\u003c/p\u003e\n\n## Usage\n\nUse the `SimplifiedAES` class in your program as follows.\n\nFor encryption:\n\n```python\nfrom saes import SimplifiedAES\n\nplaintext = 0b1101011100101000\nkey = 0b0100101011110101\nciphertext = SimplifiedAES(key).encrypt(plaintext) # 0b0010010011101100\n```\n\nFor decryption:\n\n```python\nfrom saes import SimplifiedAES\n\nciphertext = 0b0010010011101100\nkey = 0b0100101011110101\nplaintext = SimplifiedAES(key).decrypt(ciphertext) # 0b1101011100101000\n```\n\n## References\n\nCheck out `theory.pdf` for more information and worked out examples.\n\n## Authors\n\n[Mayank Jain](https://github.com/mayank-02)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayank-02%2Fsimplified-aes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmayank-02%2Fsimplified-aes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayank-02%2Fsimplified-aes/lists"}