{"id":18538005,"url":"https://github.com/shetabit/aes","last_synced_at":"2025-10-05T00:55:48.899Z","repository":{"id":97500496,"uuid":"170647572","full_name":"shetabit/AES","owner":"shetabit","description":" Encrypt and Decrypt data with AES algorithm","archived":false,"fork":false,"pushed_at":"2019-02-25T10:27:28.000Z","size":6,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-27T23:45:53.956Z","etag":null,"topics":["aes","algorithm","decrypt","decryption","encrypt","encryption","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/shetabit.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":"2019-02-14T07:32:50.000Z","updated_at":"2020-08-24T06:23:44.000Z","dependencies_parsed_at":"2023-03-16T09:15:46.260Z","dependency_job_id":null,"html_url":"https://github.com/shetabit/AES","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shetabit/AES","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shetabit%2FAES","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shetabit%2FAES/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shetabit%2FAES/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shetabit%2FAES/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shetabit","download_url":"https://codeload.github.com/shetabit/AES/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shetabit%2FAES/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278395912,"owners_count":25979691,"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-10-04T02:00:05.491Z","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":["aes","algorithm","decrypt","decryption","encrypt","encryption","php"],"created_at":"2024-11-06T19:41:42.335Z","updated_at":"2025-10-05T00:55:48.883Z","avatar_url":"https://github.com/shetabit.png","language":"PHP","readme":"# AES\n\n[![Maintainability](https://api.codeclimate.com/v1/badges/73cc51ddaf4d700cecd1/maintainability)](https://codeclimate.com/github/shetabit/AES/maintainability)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/shetabit/AES/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/shetabit/AES/?branch=master)\n[![StyleCI](https://github.styleci.io/repos/116474325/shield?branch=master)](https://github.styleci.io/repos/116474325)\n\nEncrypt and Decrypt data with AES algorithm with PHP\n\n## Feature\n* Set manually iv suitable for static inialization vector (IV)\n* Set randomly iv (Recomended)\n\n## Example (Static IV)\n```PHP\nrequire \"AES.php\";\n\n$aes = new AES(\n\t'WR7rLKlVvJdEAIzHUMpt4dcEKsXPinIU2KiWzm++bhg=',\n\t'AES-256-CBC',\n\t'NJ0oI9P1fytagUfPny3qTA=='\n);\n\n$plainText = \"Please, encrypt me!\";\n\n$encrypted = $aes-\u003eencrypt($plainText);\n\necho \"Encrypted : {$encrypted}\u003cbr /\u003e\";\n\n$decrypted = $aes-\u003edecrypt($encrypted);\n\necho \"Decrypted : {$decrypted}\u003cbr /\u003e\";\n```\n\n## Example (Dynamic IV)\n```PHP\nrequire \"AES.php\";\n\n$aes = new AES(\n\t'WR7rLKlVvJdEAIzHUMpt4dcEKsXPinIU2KiWzm++bhg=',\n\t'AES-256-CBC'\n);\n\n$plainText = \"Please, encrypt me!\";\n\n$encrypted = $aes-\u003eencrypt($plainText);\n\necho \"Encrypted : {$encrypted}\u003cbr /\u003e\";\n\n$decrypted = $aes-\u003edecrypt($encrypted, true);\n\necho \"Decrypted : {$decrypted}\u003cbr /\u003e\";\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshetabit%2Faes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshetabit%2Faes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshetabit%2Faes/lists"}