pssht
latest
SSH server library written in PHP
Main Page
Classes
Files
File List
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\Encryption
;
13
17
class
None
implements
\fpoirotte\Pssht\Encryption\EncryptionInterface
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
}
fpoirotte\Pssht\Encryption\None\decrypt
decrypt($seqno, $data)
Definition:
None.php:48
fpoirotte\Pssht\Encryption\None\getIVSize
static getIVSize()
Definition:
None.php:33
fpoirotte\Pssht\Encryption\None\__construct
__construct($iv, $key)
Definition:
None.php:19
fpoirotte\Pssht\Encryption\None\getBlockSize
static getBlockSize()
Definition:
None.php:38
fpoirotte\Pssht\Encryption\None\getName
static getName()
Return the name of the algorithm.
Definition:
None.php:23
fpoirotte\Pssht\Encryption\None\getKeySize
static getKeySize()
Definition:
None.php:28
fpoirotte\Pssht\Encryption\EncryptionInterface
Definition:
EncryptionInterface.php:17
fpoirotte\Pssht\Encryption
Definition:
Base.php:12
fpoirotte\Pssht\Encryption\None\encrypt
encrypt($seqno, $data)
Definition:
None.php:43
fpoirotte\Pssht\Encryption\None
Definition:
None.php:17
src
Encryption
None.php
Generated on Tue May 9 2017 12:09:55 for pssht by
1.8.11