cast/sha2

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

Maintainers

Details

github.com/windlace/sha2

Source

Issues

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/cast/sha2

1.1 2020-05-20 06:49 UTC

This package is auto-updated.

Last update: 2025-09-20 18:45:42 UTC


README

Transparent SHA2-256 Implementation for PHP

Install:

composer require cast/sha2

Usage:

<?php

use function Cast\Crypto\Sha2\sha256;

sha256('The quick brown fox jumps over the lazy dog');
// d7a8fbb307d7809469ca9abcb0082e4f8d5651e46d3cdb762d02d0bf37c9e592

Based on https://github.com/spipremix/ecrire/blob/master/auth/sha256.inc.php.

Links: