pssht  latest
SSH server library written in PHP
MACInterface.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 
17 interface MACInterface extends \fpoirotte\Pssht\Algorithms\AlgorithmInterface
18 {
25  public function __construct($key);
26 
40  public function compute($seqno, $data);
41 
49  public static function getSize();
50 
58  public static function getKeySize();
59 }