01 2014 档案

RSA openssl_public_encrypt false
摘要:这个问题困扰了我好久,最后发现,原来这个函数只能最大长度为117个字节。如果加密的串超过这个长度,就会返回false。 阅读全文

posted @ 2014-01-25 19:29 逍遥郭 阅读(1727) 评论(0) 推荐(0)

uploadify多次加载导致页面无法加载
摘要:function upld() { $('#file_upload').uploadify({ 'formData' : {'seccode':''}, 'swf' : '', 'uploader' : '', 'auto' : true, 'removeCompleted': false, 'debug':true, 'buttonImage':'', 'width':2 阅读全文

posted @ 2014-01-23 16:31 逍遥郭 阅读(448) 评论(0) 推荐(0)

RSA非对称加密 php的openssl实现
摘要:_keyPath = $path; } /** * create the key pair,save the key to $this->_keyPath */ public function createKey() { $r = openssl_pkey_new(); openssl_pkey_export($r, $privKey); file_put_contents($this->_keyPath . DIR... 阅读全文

posted @ 2014-01-23 16:26 逍遥郭 阅读(1454) 评论(0) 推荐(0)

导航