2018-01-26 15:45:57 +01:00
|
|
|
<?php
|
|
|
|
|
2021-03-22 10:28:28 +01:00
|
|
|
class Crypt
|
|
|
|
{
|
2018-01-26 15:45:57 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @access private
|
|
|
|
*/
|
|
|
|
protected $plain = '';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @access private
|
|
|
|
*/
|
|
|
|
protected $password;
|
|
|
|
|
|
|
|
protected $size;
|
|
|
|
|
|
|
|
|
2021-04-13 22:19:16 +02:00
|
|
|
public function __construct($plaintext)
|
|
|
|
{
|
2018-01-26 15:45:57 +01:00
|
|
|
$this->plain = $plaintext;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2019-09-17 22:06:00 +02:00
|
|
|
* @return bool
|
2018-01-26 15:45:57 +01:00
|
|
|
*/
|
2021-04-13 22:19:16 +02:00
|
|
|
public function crypt($algorithm)
|
|
|
|
{
|
2018-01-26 15:45:57 +01:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2021-04-13 22:19:16 +02:00
|
|
|
public function get()
|
|
|
|
{
|
2018-01-26 15:45:57 +01:00
|
|
|
return $this->password;
|
|
|
|
}
|
|
|
|
}
|