Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 42 | All time: 10,853 This week: 571 |
Version | License | PHP version | Categories | |||
blake2 1.0.0 | The PHP License | 5 | PHP 5, Cryptography |
Description | Author | |||||||||||||||||||||||
This class can generate hashes of data using the Blake2 algorithm. Innovation Award |
|
PHP Blake2b,Blake2s,Blake2X https://tools.ietf.org/html/rfc7693
https://www.blake2.net/blake2.pdf
https://www.blake2.net/blake2x.pdf
Included BLAKE2s, BLAKE 2b & BLAKE2XOF (modes 2b,2s & XOF 0)
Examples:
$data = ""; $key = ""; $salt = ""; $Personalization = "";
$b2 = new BLAKE2s($key,$salt,$Personalization); echo $b2->hash($data);
$b2 = new BLAKE2b($key,$salt,$Personalization); echo $b2->hash($data);
Extended hashes:
$b2 = new BLAKE2XOF("2s",$key,$salt,$Personalization); echo $b2->hash($data,XOF length);
$b2 = new BLAKE2XOF("2b",$key,$salt,$Personalization); echo $b2->hash($data,XOF length);
$b2 = new BLAKE2XOF("2s",$key,$salt,$Personalization); echo $b2->hash($data,0);
$b2 = new BLAKE2XOF("2b",$key,$salt,$Personalization); echo $b2->hash($data,0);
Test Vectors included
https://github.com/BLAKE2/BLAKE2/tree/master/testvectors
@denobisipsis 2021
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.