{"id":19233846,"url":"https://github.com/danielburger1337/sha3-shake-php","last_synced_at":"2025-12-12T17:04:26.429Z","repository":{"id":153124085,"uuid":"509006275","full_name":"danielburger1337/sha3-shake-php","owner":"danielburger1337","description":"SHA-3 SHAKE implementation in PHP","archived":false,"fork":false,"pushed_at":"2024-09-08T15:50:42.000Z","size":65,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-31T09:03:43.315Z","etag":null,"topics":["keccak","php","php-library","sha3","shake128","shake256"],"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/danielburger1337.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":"2022-06-30T08:59:56.000Z","updated_at":"2024-10-25T11:52:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"b7dabbd1-cc1c-47a9-8ec5-3bcf534f3ca1","html_url":"https://github.com/danielburger1337/sha3-shake-php","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/danielburger1337%2Fsha3-shake-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielburger1337%2Fsha3-shake-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielburger1337%2Fsha3-shake-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielburger1337%2Fsha3-shake-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielburger1337","download_url":"https://codeload.github.com/danielburger1337/sha3-shake-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249996273,"owners_count":21358100,"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":["keccak","php","php-library","sha3","shake128","shake256"],"created_at":"2024-11-09T16:12:04.276Z","updated_at":"2025-12-12T17:04:21.120Z","avatar_url":"https://github.com/danielburger1337.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PHPCSFixer](https://github.com/danielburger1337/sha3-shake-php/actions/workflows/phpcsfixer.yml/badge.svg)](https://github.com/danielburger1337/sha3-shake-php/actions/workflows/phpcsfixer.yml)\n[![PHPUnit](https://github.com/danielburger1337/sha3-shake-php/actions/workflows/phpunit.yml/badge.svg)](https://github.com/danielburger1337/sha3-shake-php/actions/workflows/phpunit.yml)\n[![PHPStan](https://github.com/danielburger1337/sha3-shake-php/actions/workflows/phpstan.yml/badge.svg)](https://github.com/danielburger1337/sha3-shake-php/actions/workflows/phpstan.yml)\n![Packagist Version](https://img.shields.io/packagist/v/danielburger1337/sha3-shake?link=https%3A%2F%2Fpackagist.org%2Fpackages%2Fdanielburger1337%2Fsha3-shake-php)\n![Packagist Downloads](https://img.shields.io/packagist/dt/danielburger1337/sha3-shake?link=https%3A%2F%2Fpackagist.org%2Fpackages%2Fdanielburger1337%2Fsha3-shake-php)\n\n# SHA3-SHAKE\n\nNative PHP implementation of the SHA3-SHAKE (KECCAK) algorithm.\n\nThis library is [PSR-4](https://www.php-fig.org/psr/psr-4/) compatible and can be installed via PHP's dependency manager [Composer](https://getcomposer.org).\n\n```shell\ncomposer require danielburger1337/sha3-shake\n```\n\nThis library requires a 64-bit version of PHP.\n\n---\n\n## **Why does this library exist ?**\n\nSince version ^7.1 the SHA3 algorithm is nativly supported by PHP via the [`hash`](https://www.php.net/manual/function.hash) function. However, the SHAKE128 and SHAKE256 variants are not supported.\n\n---\n\n## **How To Use**\n\nThe library exposes two public static method for both shake versions.\nSee the PHPDoc annotation for more information about the arguments.\n\n```php\n\u003c?php\n    use danielburger1337\\SHA3Shake\\SHA3Shake;\n\n    SHA3Shake::shake128('This is a test string.', 64);\n    // 041b3634a7b103979e4c7e100cdc6ec19e3541b15633657ebae4bb7dd9aca0dc\n\n    SHA3Shake::shake256('This is a test string.', 64);\n    // ec31f7a681a317a276b844e22e3e777834c5de311816d70329d5c8054846946b\n```\n\n---\n\n## **Sources**\n\nThis library uses a modified implementation from the abandoned [bb/php-sha3](https://github.com/0xbb/php-sha3) package.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielburger1337%2Fsha3-shake-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielburger1337%2Fsha3-shake-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielburger1337%2Fsha3-shake-php/lists"}