{"id":18603757,"url":"https://github.com/abdullahselek/aes-encryption","last_synced_at":"2026-03-02T12:40:13.279Z","repository":{"id":33434884,"uuid":"37080201","full_name":"abdullahselek/AES-Encryption","owner":"abdullahselek","description":"AES-Encryption is a Java class for encrypting and decrypting strings in Android with AES.","archived":false,"fork":false,"pushed_at":"2017-04-13T20:27:17.000Z","size":123,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T03:34:56.098Z","etag":null,"topics":["aes-encryption","android","java"],"latest_commit_sha":null,"homepage":"","language":"Java","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/abdullahselek.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}},"created_at":"2015-06-08T16:56:08.000Z","updated_at":"2022-12-12T18:38:44.000Z","dependencies_parsed_at":"2022-09-12T19:31:49.439Z","dependency_job_id":null,"html_url":"https://github.com/abdullahselek/AES-Encryption","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2FAES-Encryption","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2FAES-Encryption/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2FAES-Encryption/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2FAES-Encryption/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdullahselek","download_url":"https://codeload.github.com/abdullahselek/AES-Encryption/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248349536,"owners_count":21089069,"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-encryption","android","java"],"created_at":"2024-11-07T02:15:24.260Z","updated_at":"2026-03-02T12:40:08.243Z","avatar_url":"https://github.com/abdullahselek.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AES-Encryption\n\nAES-Encryption is a Java class for encrypting and decrypting strings in Android with AES.\n\nFirst initialize your own AESEncryption class variable with a password key. Then you can use encrypt and decrypt methods as below.\n\n## Installation\n\n### Gradle\n\u003e Add it in your root build.gradle at the end of repositories\n```\nrepositories {\n    maven { url \"https://jitpack.io\" }\n}\n```\n\u003e Add the dependency\n```\ndependencies {\n\tcompile 'com.github.abdullahselek:AES-Encryption:0.1'\n}\n```\n### Maven\n```\n\u003crepositories\u003e\n\t\u003crepository\u003e\n\t\t\u003cid\u003ejitpack.io\u003c/id\u003e\n\t\t\u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n\t\u003c/repository\u003e\n\u003c/repositories\u003e\n```\n\u003e Add the dependency\n```\n\u003cdependency\u003e\n\t\u003cgroupId\u003ecom.github.abdullahselek\u003c/groupId\u003e\n\t\u003cartifactId\u003eAES-Encryption\u003c/artifactId\u003e\n\t\u003cversion\u003e0.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Example Usage\n\n- Initialization of AESEncryption class\n```\nString passwordKey = \"abdullahselek\";\nAESEncryption aesEncryption = new AESEncryption(passwordKey);\n```\n\n- For encryption\n```\nString encryptedText = aesEncryption.encrypt(\"encrypt it\");\n```\n\n- For decryption\n```\nString decryptedText = aesEncryption.decrypt(encryptedText);\n```\n\n## Information\n\nIf you get `Illegal key size or default parameters` error from Java Cipher class you can download two .jar files supported by Oracle according to your jre version. And add to your `${java.home}/jre/lib/security/` folder.\n\n[Related StackOverflow link](http://stackoverflow.com/a/6481658/7677598)\n\n- [Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 6 Download](http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html)\n- [Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7 Download](http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html)\n- [Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 8 Download](http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahselek%2Faes-encryption","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdullahselek%2Faes-encryption","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahselek%2Faes-encryption/lists"}