{"id":15070053,"url":"https://github.com/z-40/microaes","last_synced_at":"2026-01-03T07:10:12.210Z","repository":{"id":57441442,"uuid":"354548473","full_name":"Z-40/MicroAES","owner":"Z-40","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-01T04:47:30.000Z","size":63,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T02:07:47.999Z","etag":null,"topics":["aes","cryptography","python-3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Z-40.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-04T13:18:46.000Z","updated_at":"2022-08-12T14:18:39.000Z","dependencies_parsed_at":"2022-09-06T02:01:54.235Z","dependency_job_id":null,"html_url":"https://github.com/Z-40/MicroAES","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Z-40%2FMicroAES","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Z-40%2FMicroAES/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Z-40%2FMicroAES/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Z-40%2FMicroAES/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Z-40","download_url":"https://codeload.github.com/Z-40/MicroAES/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243838072,"owners_count":20355979,"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":["aes","cryptography","python-3"],"created_at":"2024-09-25T01:46:46.322Z","updated_at":"2026-01-03T07:10:12.166Z","avatar_url":"https://github.com/Z-40.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MicroAES\n\nA pure python implementation of AES (Advanced Encryption Standard) with support for \n128, 192 and 256 bit keys and CBC, CTR, CFB and OFB modes of encryption.\n\n### Usage\n    import micro_aes\n\n    aes = micro_aes.AES(b\"MyPassword\", b\"sAlTDaTa\", 32, \"sha256\")\n    encrypted_data = aes.encrypt(b\"Send Z-40 $100\", \"cbc\", \"sha256\")\n    decrypted_data = aes.decrypt(encrypted_data, \"cbc\", \"sha256\")\n\n    print(bytes.hex(encrypted_data))\n    # Output: 1bbd4a183d5c633e167d50047144ab812ebfa252da1282446a33fc681513a4d63234c18c83b82796dfafebed2714ef3c047c773b050c58048a3a1ea00bbcbd0a\n\n    print(decrypted_data)\n    # Output: b'Send Z-40 $100'\n\n### Security Overview\n- Same message maps to different cipher texts\n- HMAC insures the integrity of the message and prevents attacks such as padding oracle\n- SCRYPT helps transform weak passwords into AES keys, HMAC keys and IV \n\n### Limitations\nThis implementation of AES is ***NOT*** Side-Channel attack resistant, however, attacks \ncan be prevented by clearing memory and deleting objects after usage\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz-40%2Fmicroaes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz-40%2Fmicroaes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz-40%2Fmicroaes/lists"}