pssht
latest
SSH server library written in PHP
Main Page
Classes
Files
File List
EncryptionInterface.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
interface
EncryptionInterface
extends
\fpoirotte\Pssht\Algorithms\AlgorithmInterface
18
{
28
public
function
__construct
($iv, $key);
29
36
public
static
function
getKeySize
();
37
44
public
static
function
getIVSize
();
45
52
public
static
function
getBlockSize
();
53
66
public
function
encrypt
($seqno, $data);
67
80
public
function
decrypt
($seqno, $data);
81
}
fpoirotte\Pssht\Encryption\EncryptionInterface\__construct
__construct($iv, $key)
fpoirotte\Pssht\Encryption\EncryptionInterface\getKeySize
static getKeySize()
fpoirotte\Pssht\Encryption\EncryptionInterface\encrypt
encrypt($seqno, $data)
fpoirotte\Pssht\Encryption\EncryptionInterface\getIVSize
static getIVSize()
fpoirotte\Pssht\Encryption\EncryptionInterface\getBlockSize
static getBlockSize()
fpoirotte\Pssht\Encryption\EncryptionInterface
Definition:
EncryptionInterface.php:17
fpoirotte\Pssht\Encryption\EncryptionInterface\decrypt
decrypt($seqno, $data)
fpoirotte\Pssht\Encryption
Definition:
Base.php:12
src
Encryption
EncryptionInterface.php
Generated on Tue May 9 2017 12:09:55 for pssht by
1.8.11