PHPackages                             cast/sha2 - 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. cast/sha2

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

cast/sha2
=========

Transparent SHA2-256 Implementation for PHP. Based on https://github.com/spipremix/ecrire/blob/master/auth/sha256.inc.php

1.1(5y ago)05LGPL-2.1+PHPPHP ^7.3CI failing

Since May 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/windlace/sha2)[ Packagist](https://packagist.org/packages/cast/sha2)[ RSS](/packages/cast-sha2/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

SHA2-256
--------

[](#sha2-256)

**Transparent SHA2-256 Implementation for PHP**

#### Install:

[](#install)

```
composer require cast/sha2
```

#### Usage:

[](#usage)

```
