pssht
latest
SSH server library written in PHP
Main Page
Classes
Files
File List
Len64.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\OpensshCom\UMAC
;
13
17
class
Len64
extends
Base
18
{
19
final
public
function
__construct
(
$key
)
20
{
21
$this->key =
$key
;
22
$this->umac = new \fpoirotte\Pssht\Algorithms\UMAC\UMAC64();
23
}
24
25
final
public
static
function
getKeySize
()
26
{
27
return
16;
28
}
29
30
final
public
static
function
getSize
()
31
{
32
return
8;
33
}
34
35
public
static
function
getName
()
36
{
37
return
'umac-64@openssh.com'
;
38
}
39
}
fpoirotte\Pssht\MAC\OpensshCom\UMAC
Definition:
Base.php:12
fpoirotte\Pssht\MAC\OpensshCom\UMAC\Len64
Definition:
Len64.php:17
fpoirotte\Pssht\MAC\OpensshCom\UMAC\Len64\getName
static getName()
Return the name of the algorithm.
Definition:
Len64.php:35
fpoirotte\Pssht\MAC\OpensshCom\UMAC\Len64\__construct
__construct($key)
Definition:
Len64.php:19
fpoirotte\Pssht\MAC\OpensshCom\UMAC\Base
Definition:
Base.php:17
fpoirotte\Pssht\MAC\OpensshCom\UMAC\Len64\getSize
static getSize()
Definition:
Len64.php:30
fpoirotte\Pssht\MAC\OpensshCom\UMAC\Len64\getKeySize
static getKeySize()
Definition:
Len64.php:25
fpoirotte\Pssht\MAC\OpensshCom\UMAC\Base\$key
$key
Integrity key.
Definition:
Base.php:25
src
MAC
OpensshCom
UMAC
Len64.php
Generated on Tue May 9 2017 12:09:56 for pssht by
1.8.11