{"id":15308257,"url":"https://github.com/yidas/crypto-sample-php","last_synced_at":"2025-04-15T01:02:48.742Z","repository":{"id":86180093,"uuid":"138274195","full_name":"yidas/crypto-sample-php","owner":"yidas","description":"PHP sample code for symmetric and asymmetric cryptography with encryption and decryption","archived":false,"fork":false,"pushed_at":"2024-02-22T10:17:42.000Z","size":34,"stargazers_count":7,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T12:51:18.342Z","etag":null,"topics":["aes-cbc","aes-ecb","aes-encryption","aes-gcm","crypto-js","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/yidas.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}},"created_at":"2018-06-22T08:06:40.000Z","updated_at":"2024-06-08T21:42:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"602b9736-d522-4a09-9ca4-9146fbdbcc7e","html_url":"https://github.com/yidas/crypto-sample-php","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/yidas%2Fcrypto-sample-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yidas%2Fcrypto-sample-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yidas%2Fcrypto-sample-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yidas%2Fcrypto-sample-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yidas","download_url":"https://codeload.github.com/yidas/crypto-sample-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248986306,"owners_count":21194025,"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-cbc","aes-ecb","aes-encryption","aes-gcm","crypto-js","php"],"created_at":"2024-10-01T08:15:01.183Z","updated_at":"2025-04-15T01:02:48.715Z","avatar_url":"https://github.com/yidas.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Crypto Sample for PHP\n================\n\nPHP sample code for symmetric and asymmetric cryptography with encryption and decryption\n\nFEATURES\n--------\n\nIt's a simple implementation of handing encryption and decryption with AES symmetric-key algorithm between two side, PHP server and Javascript client. \n\n---\n\nINSTALLATION\n------------\n\nDownload repository and run Composer install in your Web directory:\n\n```\n$ git clone https://github.com/yidas/crypto-sample-php;\n$ cd crypto-sample-php;\n$ composer install;\n```\n\n---\n\nCONCEPTION\n----------\n\n[Advanced Encryption Standard (AES)](https://en.wikipedia.org/wiki/Advanced_Encryption_Standard), a subset of the Rijndael cipher, which is a symmetric-key algorithm, meaning the same key is used for both encrypting and decrypting the data.\n\n### Block Cipher Mode of Operation\n\n- ECB - Same cipher text with same plain text. No use of IV.\n\n- CBC - Different cipher text with same plain text. Using IV. (The most commonly used mode of operation)\n\n---\n\nREFERENCE\n---------\n\n[CryptoJS Github](https://github.com/brix/crypto-js)\n\n[CryptoJS Google Documentation](https://code.google.com/archive/p/crypto-js/)\n\n[CryptoJS Library CDN](https://cdnjs.com/libraries/crypto-js)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyidas%2Fcrypto-sample-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyidas%2Fcrypto-sample-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyidas%2Fcrypto-sample-php/lists"}