/** * 获取可逆的加密算法管理类 * @return \tfc\saf\Mef */ public function getMef() { if ($this->_mef === null) { $this->_mef = Mef::getInstance($this->getKeyName()); } return $this->_mef; }
/** * 构造方法:初始化加密算法管理类、业务处理类 */ public function __construct() { $this->_mef = Mef::getInstance(self::CLUSTER_NAME); $this->_portal = new Portal(); }