PHPackages                             danielburger1337/sha3-shake - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. danielburger1337/sha3-shake

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

danielburger1337/sha3-shake
===========================

SHA-3 SHAKE implementation in PHP

v1.1.2(4mo ago)315.2k↓24.7%13MITPHPPHP ^8.2

Since Apr 15Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/danielburger1337/sha3-shake-php)[ Packagist](https://packagist.org/packages/danielburger1337/sha3-shake)[ Docs](https://github.com/danielburger1337/sha3-shake-php)[ RSS](/packages/danielburger1337-sha3-shake/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (3)

[![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)[![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)[![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)[![Packagist Version](https://camo.githubusercontent.com/8d86a4598fcbca97a8e55d9bbc63e7725b148da6965bfcffe54597e84f062d4a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64616e69656c627572676572313333372f736861332d7368616b653f6c696e6b3d68747470732533412532462532467061636b61676973742e6f72672532467061636b6167657325324664616e69656c62757267657231333337253246736861332d7368616b652d706870)](https://camo.githubusercontent.com/8d86a4598fcbca97a8e55d9bbc63e7725b148da6965bfcffe54597e84f062d4a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64616e69656c627572676572313333372f736861332d7368616b653f6c696e6b3d68747470732533412532462532467061636b61676973742e6f72672532467061636b6167657325324664616e69656c62757267657231333337253246736861332d7368616b652d706870)[![Packagist Downloads](https://camo.githubusercontent.com/d15d7e405f68f298ccc93ad8726775eb16b53a99cc218a8826bf6d6595b56d82/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64616e69656c627572676572313333372f736861332d7368616b653f6c696e6b3d68747470732533412532462532467061636b61676973742e6f72672532467061636b6167657325324664616e69656c62757267657231333337253246736861332d7368616b652d706870)](https://camo.githubusercontent.com/d15d7e405f68f298ccc93ad8726775eb16b53a99cc218a8826bf6d6595b56d82/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64616e69656c627572676572313333372f736861332d7368616b653f6c696e6b3d68747470732533412532462532467061636b61676973742e6f72672532467061636b6167657325324664616e69656c62757267657231333337253246736861332d7368616b652d706870)

SHA3-SHAKE
==========

[](#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).

```
composer require danielburger1337/sha3-shake
```

This library requires a 64-bit version of PHP.

---

**Why does this library exist ?**
---------------------------------

[](#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**
--------------

[](#how-to-use)

The library exposes two public static method for both shake versions. See the PHPDoc annotation for more information about the arguments.

```
