pssht  latest
SSH server library written in PHP
Len256.php
1 <?php
2 
3 /*
4 * This file is part of pssht.
5 *
6 * (c) François Poirotte <clicky@erebot.net>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11 
12 namespace fpoirotte\Pssht\MAC\SHA2;
13 
19 {
20  public static function getName()
21  {
22  return 'hmac-sha2-256';
23  }
24 
25  public static function getHash()
26  {
27  return 'sha256';
28  }
29 }
static getName()
Return the name of the algorithm.
Definition: Len256.php:20