{"id":17976066,"url":"https://github.com/deemru/cryptash","last_synced_at":"2025-03-25T15:31:06.823Z","repository":{"id":56964623,"uuid":"165501369","full_name":"deemru/Cryptash","owner":"deemru","description":"Hash-based encrypt/decrypt for PHP","archived":false,"fork":false,"pushed_at":"2024-11-05T21:46:29.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T13:07:25.985Z","etag":null,"topics":["authenticity","confidentiality","cryptography","decrypt","encrypt","integrity","php"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/deemru/cryptash","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/deemru.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-13T12:15:51.000Z","updated_at":"2024-11-05T21:45:06.000Z","dependencies_parsed_at":"2024-10-29T17:54:17.843Z","dependency_job_id":null,"html_url":"https://github.com/deemru/Cryptash","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"c539e88b8e5c79c7dd8b54d480ed083f70eaa1fe"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deemru%2FCryptash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deemru%2FCryptash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deemru%2FCryptash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deemru%2FCryptash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deemru","download_url":"https://codeload.github.com/deemru/Cryptash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245489756,"owners_count":20623789,"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":["authenticity","confidentiality","cryptography","decrypt","encrypt","integrity","php"],"created_at":"2024-10-29T17:21:50.759Z","updated_at":"2025-03-25T15:31:05.723Z","avatar_url":"https://github.com/deemru.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cryptash\n\n[![packagist](https://img.shields.io/packagist/v/deemru/cryptash.svg)](https://packagist.org/packages/deemru/cryptash) [![php-v](https://img.shields.io/packagist/php-v/deemru/cryptash.svg)](https://packagist.org/packages/deemru/cryptash) [![GitHub](https://img.shields.io/github/actions/workflow/status/deemru/Cryptash/php.yml?label=github%20actions)](https://github.com/deemru/Cryptash/actions/workflows/php.yml) [![codacy](https://img.shields.io/codacy/grade/e96997be454146f9acf72aae01c604ca.svg?label=codacy)](https://app.codacy.com/gh/deemru/Cryptash/files) [![license](https://img.shields.io/packagist/l/deemru/cryptash.svg)](https://packagist.org/packages/deemru/cryptash)\n\n[Cryptash](https://github.com/deemru/Cryptash) implements hash based encryption with user-defined size of [IV](https://en.wikipedia.org/wiki/Initialization_vector) and [MAC](https://en.wikipedia.org/wiki/Message_authentication_code).\n\nIt is a pretty simple way to protect and verify your data transfers which goes outside.\n\n## Usage\n\n```php\n$cryptash = new Cryptash( 'Password' );\n$msg = 'Hello, world!';\n\n$encrypted = $cryptash-\u003eencryptash( $msg );\n$decrypted = $cryptash-\u003edecryptash( $encrypted );\n\nif( $decrypted !== $msg )\n    exit( 1 );\n```\n\n## Requirements\n\n- [PHP](http://php.net) \u003e=5.4\n\n## Installation\n\nRequire through Composer:\n\n```json\n{\n    \"require\": {\n        \"deemru/cryptash\": \"1.0.*\"\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeemru%2Fcryptash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeemru%2Fcryptash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeemru%2Fcryptash/lists"}