pssht  latest
SSH server library written in PHP
None.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;
13 
18 {
19  public function __construct($key)
20  {
21  }
22 
23  public static function getName()
24  {
25  return 'none';
26  }
27 
28  public function compute($nonce, $data)
29  {
30  return '';
31  }
32 
33  public static function getSize()
34  {
35  return 0;
36  }
37 
38  public static function getKeySize()
39  {
40  return 0;
41  }
42 }
static getName()
Return the name of the algorithm.
Definition: None.php:23
compute($nonce, $data)
Definition: None.php:28
static getKeySize()
Definition: None.php:38