You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
postfixadmin/scripts/snippets/crypt.php

33 lines
439 B
PHP

<?php
class Crypt {
/**
* @access private
*/
protected $plain = '';
/**
* @access private
*/
protected $password;
protected $size;
public function __construct($plaintext) {
$this->plain = $plaintext;
}
/**
* @return bool
*/
public function crypt($algorithm) {
return true;
}
public function get() {
return $this->password;
}
}