摘要: 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 扬空 阅读(245) 评论(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 扬空 阅读(1871) 评论(0) 推荐(0) 编辑