https://github.com/danielburger1337/sha3-shake-php
SHA-3 SHAKE implementation in PHP
https://github.com/danielburger1337/sha3-shake-php
keccak php php-library sha3 shake128 shake256
Last synced: 6 months ago
JSON representation
SHA-3 SHAKE implementation in PHP
- Host: GitHub
- URL: https://github.com/danielburger1337/sha3-shake-php
- Owner: danielburger1337
- License: mit
- Created: 2022-06-30T08:59:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-08T15:50:42.000Z (about 1 year ago)
- Last Synced: 2024-10-31T09:03:43.315Z (12 months ago)
- Topics: keccak, php, php-library, sha3, shake128, shake256
- Language: PHP
- Homepage:
- Size: 63.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/danielburger1337/sha3-shake-php/actions/workflows/phpcsfixer.yml)
[](https://github.com/danielburger1337/sha3-shake-php/actions/workflows/phpunit.yml)
[](https://github.com/danielburger1337/sha3-shake-php/actions/workflows/phpstan.yml)

# SHA3-SHAKE
Native PHP implementation of the SHA3-SHAKE (KECCAK) algorithm.
This 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).
```shell
composer require danielburger1337/sha3-shake
```This library requires a 64-bit version of PHP.
---
## **Why does this library exist ?**
Since 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.
---
## **How To Use**
The library exposes two public static method for both shake versions.
See the PHPDoc annotation for more information about the arguments.```php