{"id":13405396,"url":"https://github.com/phpseclib/mcrypt_compat","last_synced_at":"2025-03-14T09:32:44.778Z","repository":{"id":48450979,"uuid":"55350651","full_name":"phpseclib/mcrypt_compat","owner":"phpseclib","description":"PHP 5.x-8.x polyfill for mcrypt extension.","archived":false,"fork":false,"pushed_at":"2024-11-10T00:58:28.000Z","size":101,"stargazers_count":282,"open_issues_count":6,"forks_count":59,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-03T22:39:36.198Z","etag":null,"topics":["mcrypt","mcrypt-extension"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/phpseclib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":"phpseclib","open_collective":null,"ko_fi":null,"tidelift":"packagist/phpseclib/mcrypt_compat","community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2016-04-03T14:34:17.000Z","updated_at":"2025-01-28T07:17:08.000Z","dependencies_parsed_at":"2024-03-04T00:35:46.934Z","dependency_job_id":"9a5b546c-0334-494c-9d5a-b7881169728d","html_url":"https://github.com/phpseclib/mcrypt_compat","commit_stats":{"total_commits":90,"total_committers":8,"mean_commits":11.25,"dds":"0.38888888888888884","last_synced_commit":"216e1a3ec07e50ecb3e0664cbe167630974004f9"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpseclib%2Fmcrypt_compat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpseclib%2Fmcrypt_compat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpseclib%2Fmcrypt_compat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpseclib%2Fmcrypt_compat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phpseclib","download_url":"https://codeload.github.com/phpseclib/mcrypt_compat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242524949,"owners_count":20143635,"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":["mcrypt","mcrypt-extension"],"created_at":"2024-07-30T19:02:00.870Z","updated_at":"2025-03-14T09:32:44.724Z","avatar_url":"https://github.com/phpseclib.png","language":"PHP","funding_links":["https://patreon.com/phpseclib","https://tidelift.com/funding/github/packagist/phpseclib/mcrypt_compat","https://www.patreon.com/phpseclib","https://tidelift.com/subscription/pkg/packagist-phpseclib-mcrypt-compat?utm_source=packagist-phpseclib-mcrypt-compat\u0026utm_medium=referral\u0026utm_campaign=readme","https://tidelift.com/security"],"categories":["PHP"],"sub_categories":[],"readme":"# mcrypt_compat\n\n[![CI Status](https://github.com/phpseclib/mcrypt_compat/actions/workflows/ci.yml/badge.svg?branch=master\u0026event=push \"CI Status\")](https://github.com/phpseclib/mcrypt_compat/actions/workflows/ci.yml?query=branch%3Amaster)\n\nPHP 5.x-8.x polyfill for mcrypt extension.\n\n## Supporting mcrypt_compat\n\n- [Become a backer or sponsor on Patreon](https://www.patreon.com/phpseclib)\n- [One-time donation via PayPal or crypto-currencies](http://sourceforge.net/donate/index.php?group_id=198487)\n- [Subscribe to Tidelift](https://tidelift.com/subscription/pkg/packagist-phpseclib-mcrypt-compat?utm_source=packagist-phpseclib-mcrypt-compat\u0026utm_medium=referral\u0026utm_campaign=readme)\n\n## Installation\n\nWith [Composer](https://getcomposer.org/):\n\n```\ncomposer require phpseclib/mcrypt_compat\n```\n\n## Supported algorithms\n\n- rijndael-128\n- rijndael-192\n- rijndael-256\n- des\n- blowfish\n- rc2\n- tripledes\n- arcfour\n\n## Unsupported algorithms\n\n- cast-128\n- gost\n- cast-256\n- loki97\n- saferplus\n- wake\n- blowfish-compat\n- serpent\n- xtea\n- enigma\n\n## Supported modes\n\n- cbc\n- ncfb\n- cfb\n- ctr\n- ecb\n- nofb\n- ofb\n- stream\n\nmcrypt_compat's `ncfb` implementation has some incompatibles with mcrypt's implementation where `mcrypt_generic` and `mdecrypt_generic` are concerned. The unit tests elaborate.\n\n## Emulating older PHP versions\n\nThe mcrypt extension's behavior underwent changes as new versions of PHP were released. By default mcrypt_compat emulates the behavior of PHP 7.1 but if you need to emulate how mcrypt behaved in, say, PHP 5.3.0, you may do so by doing `define('PHPSECLIB_MCRYPT_TARGET_VERSION', '5.3.0');` before including vendor/autoload.php (if you're using this with Composer).\n\n## Security contact information\n\nTo report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpseclib%2Fmcrypt_compat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpseclib%2Fmcrypt_compat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpseclib%2Fmcrypt_compat/lists"}