<br />
<b>Warning</b>:  Trying to access array offset on null in <b>/pub/websites/318/weblog/wordpress/wp-content/plugins/pighead_langtag.php</b> on line <b>187</b><br />
<br />
<b>Warning</b>:  Trying to access array offset on null in <b>/pub/websites/318/weblog/wordpress/wp-content/plugins/pighead_langtag.php</b> on line <b>134</b><br />
<br />
<b>Warning</b>:  Trying to access array offset on null in <b>/pub/websites/318/weblog/wordpress/wp-content/plugins/pighead_langtag.php</b> on line <b>187</b><br />
<br />
<b>Warning</b>:  Trying to access array offset on null in <b>/pub/websites/318/weblog/wordpress/wp-content/plugins/pighead_langtag.php</b> on line <b>134</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /pub/websites/318/weblog/wordpress/wp-content/plugins/pighead_langtag.php:187) in <b>/pub/websites/318/weblog/wordpress/wp-includes/rest-api/class-wp-rest-server.php</b> on line <b>1902</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /pub/websites/318/weblog/wordpress/wp-content/plugins/pighead_langtag.php:187) in <b>/pub/websites/318/weblog/wordpress/wp-includes/rest-api/class-wp-rest-server.php</b> on line <b>1902</b><br />
{"id":125,"date":"2008-10-23T16:15:17","date_gmt":"2008-10-23T08:15:17","guid":{"rendered":"http:\/\/blog.pighead.cc\/whsyu\/?p=125"},"modified":"2008-10-23T16:16:39","modified_gmt":"2008-10-23T08:16:39","slug":"openssl_strings_encryption","status":"publish","type":"post","link":"https:\/\/blog.pighead.cc\/whsyu\/2008\/10\/23\/openssl_strings_encryption\/","title":{"rendered":"\u7528 OpenSSL \u52a0\u5bc6\u5b57\u4e32"},"content":{"rendered":"<p class=\"bb-post-separator\"><strong>[]  <\/strong><\/p><p>\u5982\u679c\u53ea\u662f\u8981\u628a\u67d0\u4e32\u5b57\u52a0\u5bc6\u7684\u8a71\uff0c\u7528 OpenSSL \u7684\u6307\u4ee4\u5c31\u53ef\u4ee5\u8f15\u9b06\u505a\u5230\u3002\u9996\u5148\u8981\u81ea\u5df1\u6311\u52a0\u5bc6\u65b9\u5f0f\uff0c\u7136\u5f8c\u8981\u8a2d\u5b9a\u597d\u5bc6\u78bc\uff0c\u9019\u6a23\u5c31\u52a0\u5bc6\u5b8c\u6210\u4e86\uff0c\u7136\u5f8c\u5982\u679c\u52a0\u5bc6\u5f8c\u7684\u5b57\u4e32\u8981\u7528\u7d14\u6587\u5b57\u578b\u5f0f\u5b58\u5728\u7684\u8a71\uff0c\u53ef\u4ee5\u52a0\u4e0a -a \u00a0\u53c3\u6578\uff0c\u7576\u7136\u58d3\u7684\u6642\u5019\u6709\u52a0 -a\uff0c\u89e3\u7684\u6642\u5019\u4e5f\u8981\u52a0\u624d\u89e3\u5f97\u51fa\u4f86\u3002<\/p>\n<h3>\u4ee5 blowfish \u52a0\u5bc6 &#8220;Pighead Party&#8221; \u5b57\u4e32\uff0c\u5bc6\u78bc\u70ba &#8220;berkshire&#8221;<\/h3>\n<p><code>echo \"Pighead Party\" | openssl bf -a -pass pass:berkshire<\/code><br \/>\n\u7136\u5f8c\u5c31\u6703\u5f97\u5230\u4e00\u4e32\u50cf\u662f &#8220;U2FsdGVkX1+NRTjEzepRh8ACY9ajOfMcL1pAFITBjso=<br \/>\n&#8220;\u7684\u5b57\u4e32\uff0c\u628a\u4ed6\u5b58\u8d77\u4f86\u5373\u53ef\u3002<\/p>\n<h3>\u4ee5 blowfish \u89e3\u5bc6\uff0c\u5bc6\u78bc\u70ba &#8220;berkshire&#8221;<\/h3>\n<p><code>echo \"U2FsdGVkX1+NRTjEzepRh8ACY9ajOfMcL1pAFITBjso=\" | openssl bf -a -d -pass pass:berkshire<\/code><br \/>\n\u9019\u6a23\u5c31\u6703\u9084\u539f\u51fa &#8220;Pighead Party&#8221; \u5b57\u4e32\u3002<\/p>\n<p>blowfish \u53ef\u4ee5\u7528 des, aes \u7b49\u4ee3\u63db\uff0c\u628a bf \u63db\u6210\u5c0d\u61c9\u7684\u5373\u53ef\uff0c\u5982\u679c\u53ea\u662f\u55ae\u7d14\u8981\u7de8\u7d14 ascii \u7684\u8a71\u4e5f\u53ef\u4ee5\u7528 base64\uff0c\u4e0d\u904e\u7576\u7136\u9019\u500b\u5c31\u4e0d\u80fd\u52a0\u5bc6\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[] \u5982\u679c\u53ea\u662f\u8981\u628a\u67d0\u4e32\u5b57\u52a0\u5bc6\u7684\u8a71\uff0c\u7528 OpenSSL \u7684\u6307\u4ee4\u5c31\u53ef\u4ee5\u8f15\u9b06\u505a\u5230\u3002\u9996\u5148\u8981\u81ea\u5df1\u6311\u52a0\u5bc6\u65b9\u5f0f\uff0c\u7136\u5f8c\u8981\u8a2d\u5b9a\u597d\u5bc6\u78bc\uff0c\u9019\u6a23\u5c31\u52a0\u5bc6\u5b8c\u6210\u4e86\uff0c\u7136\u5f8c\u5982\u679c\u52a0\u5bc6\u5f8c\u7684\u5b57\u4e32\u8981\u7528\u7d14\u6587\u5b57\u578b\u5f0f\u5b58\u5728\u7684\u8a71\uff0c\u53ef\u4ee5\u52a0\u4e0a -a \u00a0\u53c3\u6578\uff0c\u7576\u7136\u58d3\u7684\u6642\u5019\u6709\u52a0 -a\uff0c\u89e3\u7684\u6642\u5019\u4e5f\u8981\u52a0\u624d\u89e3\u5f97\u51fa\u4f86\u3002 \u4ee5 blowfish \u52a0\u5bc6 &#8220;Pighead Party&#8221; \u5b57\u4e32\uff0c\u5bc6\u78bc\u70ba &#8220;berkshire&#8221; echo &#8220;Pighead Party&#8221; | openssl bf -a -pass pass:berkshire \u7136\u5f8c\u5c31\u6703\u5f97\u5230\u4e00\u4e32\u50cf\u662f &#8220;U2FsdGVkX1+NRTjEzepRh8ACY9ajOfMcL1pAFITBjso= &#8220;\u7684\u5b57\u4e32\uff0c\u628a\u4ed6\u5b58\u8d77\u4f86\u5373\u53ef\u3002 \u4ee5 blowfish \u89e3\u5bc6\uff0c\u5bc6\u78bc\u70ba &#8220;berkshire&#8221; echo &#8220;U2FsdGVkX1+NRTjEzepRh8ACY9ajOfMcL1pAFITBjso=&#8221; | openssl bf -a -d -pass pass:berkshire \u9019\u6a23\u5c31\u6703\u9084\u539f\u51fa&hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-125","post","type-post","status-publish","format-standard","hentry","category-computer-science"],"_links":{"self":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/comments?post=125"}],"version-history":[{"count":0,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/125\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/media?parent=125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/categories?post=125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/tags?post=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}