2016-07-31 03:18:06 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Base Class for all stream ciphers
|
|
|
|
*
|
|
|
|
* PHP version 5
|
|
|
|
*
|
|
|
|
* @category Crypt
|
|
|
|
* @package StreamCipher
|
|
|
|
* @author Jim Wigginton <terrafrost@php.net>
|
|
|
|
* @author Hans-Juergen Petrich <petrich@tronic-media.com>
|
|
|
|
* @copyright 2007 Jim Wigginton
|
|
|
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
|
|
|
* @link http://phpseclib.sourceforge.net
|
|
|
|
*/
|
|
|
|
|
2019-11-07 05:41:40 +00:00
|
|
|
namespace phpseclib3\Crypt\Common;
|
2016-07-31 03:18:06 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Base Class for all stream cipher classes
|
|
|
|
*
|
|
|
|
* @package StreamCipher
|
|
|
|
* @author Jim Wigginton <terrafrost@php.net>
|
|
|
|
*/
|
|
|
|
abstract class StreamCipher extends SymmetricKey
|
|
|
|
{
|
2020-05-12 13:15:40 +00:00
|
|
|
/**
|
|
|
|
* Stream ciphers not use an IV
|
|
|
|
*
|
|
|
|
* @access public
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function usesIV()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
2016-07-31 03:18:06 +00:00
|
|
|
}
|