07 2015 档案

摘要:key = $key; $this->iv = mcrypt_create_iv(mcrypt_get_iv_size($this->cipher,$this->modes),MCRYPT_RAND); } /** * 加密 */ public function encrypt($input)... 阅读全文
posted @ 2015-07-30 20:03 扬空 阅读(252) 评论(0) 推荐(0)
摘要:public_key = file_get_contents($public_key_file)) || false == ($this->private_key = file_get_contents($private_key_file))) { throw new ... 阅读全文
posted @ 2015-07-30 19:27 扬空 阅读(1892) 评论(0) 推荐(0)
摘要:color = $color; } public function clone_self() { $obj = clone $this; $obj->color = clone $obj->color; //深复制 复制对象已持有的对象 retu... 阅读全文
posted @ 2015-07-08 21:38 扬空 阅读(141) 评论(0) 推荐(0)
摘要:op_num_1 + $this->op_num_2,chr(10); }}/** * 执行具体运算的减法类 */class op_subtract extends op { public function get_result() { echo $this->op_num... 阅读全文
posted @ 2015-07-08 13:38 扬空 阅读(185) 评论(0) 推荐(0)