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
453 B
PHP

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