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 
13 
18 {
19  public function __construct($iv, $key)
20  {
21  }
22 
23  public static function getName()
24  {
25  return 'none';
26  }
27 
28  public static function getKeySize()
29  {
30  return 0;
31  }
32 
33  public static function getIVSize()
34  {
35  return 0;
36  }
37 
38  public static function getBlockSize()
39  {
40  return 0;
41  }
42 
43  public function encrypt($seqno, $data)
44  {
45  return $data;
46  }
47 
48  public function decrypt($seqno, $data)
49  {
50  return $data;
51  }
52 }
decrypt($seqno, $data)
Definition: None.php:48
static getName()
Return the name of the algorithm.
Definition: None.php:23
encrypt($seqno, $data)
Definition: None.php:43