{"id":1776,"date":"2012-11-21T00:00:05","date_gmt":"2012-11-20T15:00:05","guid":{"rendered":"http:\/\/kerokero.org\/wp\/?p=1776"},"modified":"2012-11-20T23:40:25","modified_gmt":"2012-11-20T14:40:25","slug":"nicos%e3%81%ae%e3%83%91%e3%82%b9%e3%83%af%e3%83%bc%e3%83%89%e5%95%8f%e9%a1%8c%e3%81%a3%e3%81%a6crypt%e5%95%8f%e9%a1%8c%e3%81%98%e3%82%83%e3%81%ad%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/kerokero.org\/wp\/archives\/1776","title":{"rendered":"NICOS\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u554f\u984c\u3063\u3066crypt\u554f\u984c\u3058\u3083\u306d\uff1f"},"content":{"rendered":"<p>NICOS\u30ab\u30fc\u30c9\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u304c8\u6587\u5b57\u306b\u5207\u308a\u8a70\u3081\u3089\u308c\u3066\u7269\u8b70\u3092\u91b8\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>\u8a73\u3057\u304f\u306f\u2193\u306e\u307e\u3068\u3081\u3092\u3069\u3046\u305e\u3002<br \/>\n<a href=\"http:\/\/togetter.com\/li\/410227\">http:\/\/togetter.com\/li\/410227<\/a><\/p>\n<p>\u3067\uff01\u3060\u3002<br \/>\n\u300c\u30d1\u30b9\u30ef\u30fc\u30c9\u300d\u300c\uff18\u6587\u5b57\u300d\u306f\u3001PHP\u7b49\u306e\u8a00\u8a9e\u3067\u30ed\u30b0\u30a4\u30f3\u7ba1\u7406\u306a\u3069\u306e\u8a2d\u8a08\u3092\u3057\u305f\u4eba\u306a\u3089\u3001<br \/>\n\u30d4\u30f3\u3068\u304f\u308b\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u3001\u76f4\u3050\u306bCrypt\u3068\u3044\u3046\u8a00\u8449\u304c\u982d\u306b\u3046\u304b\u3076\u306f\u305a\u3060\u3002<\/p>\n<p>PHP\u306eCrypt\u95a2\u6570\u306e\u8aac\u660e\uff1a<br \/>\n<a href=\"http:\/\/php.net\/manual\/ja\/function.crypt.php\">http:\/\/php.net\/manual\/ja\/function.crypt.php<\/a><\/p>\n<blockquote><p>\u6a19\u6e96\u306e DES \u30d9\u30fc\u30b9\u306e\u5834\u5408\u3001 crypt() \u306f\u51fa\u529b\u306e\u6700\u521d\u306e 2 \u6587\u5b57\u3092 salt \u3068\u3057\u3066\u4f7f\u7528\u3057\u307e\u3059\u3002\u307e\u305f\u3001 str \u306e\u6700\u521d\u306e 8 \u6587\u5b57\u3057\u304b\u4f7f\u7528\u3057\u307e\u305b\u3093\u3002 \u3064\u307e\u308a\u3001\u6700\u521d\u306e 8 \u6587\u5b57\u304c\u540c\u3058\u3067\u3042\u308b\u9577\u3044\u6587\u5b57\u5217\u306f\u3001 \u540c\u3058 salt \u3092\u4f7f\u3046\u9650\u308a\u540c\u3058\u7d50\u679c\u3068\u306a\u308a\u307e\u3059\u3002 <\/p><\/blockquote>\n<p>\u30b7\u30b9\u30c6\u30e0\u304c\u53e4\u304f\u3066\u3001Crypt\u3067\u30cf\u30c3\u30b7\u30e5\u5316\u3057\u3066\u3044\u3066\u3001<br \/>\n\u3046\u3063\u304b\u308a\u3001Validation\u30928\u6587\u5b57\u306b\u8a2d\u5b9a\u3057\u5fd8\u308c\u3066\u3001<br \/>\n\u3053\u306e\u554f\u984c\u306b\u6c17\u304c\u3064\u3044\u3066\u3001\u53d6\u308a\u6025\u304e\u3001\uff19\u6587\u5b57\u4ee5\u4e0a\u306f\u30a8\u30e9\u30fc\u306b\u3057\u305f\u3089\u3001<br \/>\n\u5927\u554f\u984c\u30fb\u30fb\u30fb\u3068\u3044\u3046\u69d8\u304c\u76ee\u306b\u3046\u304b\u3076\u3088\u3046\u3060\u3002<\/p>\n<p>\u5b9f\u969b\u3001\u3053\u308c\u304c\u539f\u56e0\u304b\u306f\u4e0d\u660e\u3067\u3001\u30cd\u30c3\u30c8\u3067\u4ed6\u306e\u4eba\u306f<br \/>\n\u300cvarchar(8)\u3067DB\u306e\u9818\u57df\u3092\u5207\u3063\u3066\u3044\u3066\u3001\u5e73\u6587\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4fdd\u5b58\u3057\u3066\u3044\u308b\u3093\u3058\u3083\u306d\uff1f\u300d<br \/>\n\u7b49\u3068\u8a00\u3046\u4eba\u3082\u5c45\u308b\u307f\u305f\u3044\u3060\u3051\u3069\u3001<br \/>\n\u3055\u3059\u304c\u306b\u3001\u305d\u3053\u307e\u3067\u9177\u3044\u3068\u306f\u601d\u3044\u305f\u304f\u306a\u3044\u30fb\u30fb\u30fb<\/p>\n<p><iframe src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=nisihome04-22&#038;o=9&#038;p=8&#038;l=as4&#038;m=amazon&#038;f=ifr&#038;ref=ss_til&#038;asins=4844332953\" style=\"width:120px;height:240px;\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\"><\/iframe><br \/>\n\u2191\u3053\u306e\u9593\u3001\u8a2a\u554f\u3057\u305f\u4f1a\u793e\u306e\u5f85\u5408\u5ba4\u306b\u7f6e\u3044\u3066\u3042\u3063\u3066\u3001\u3071\u3089\u3071\u3089\u3068\u8aad\u3093\u3067\u307f\u305f\u3051\u3069\u3001<br \/>\n \u6700\u521d\u306e\u5185\u304b\u3089\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fc\u306e\u8a71\u304c\u51fa\u3066\u3044\u3066\u3001\u521d\u5fc3\u8005\u306b\u306f\u826f\u3055\u305d\u3046\u306a\u611f\u3058\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NICOS\u30ab\u30fc\u30c9\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u304c8\u6587\u5b57\u306b\u5207\u308a\u8a70\u3081\u3089\u308c\u3066\u7269\u8b70\u3092\u91b8\u3057\u3066\u3044\u308b\u3002 \u8a73\u3057\u304f\u306f\u2193\u306e\u307e\u3068\u3081\u3092\u3069\u3046\u305e\u3002 http:\/\/togetter.com\/li\/410227 \u3067\uff01\u3060\u3002 \u300c\u30d1\u30b9\u30ef\u30fc\u30c9\u300d\u300c\uff18\u6587\u5b57\u300d\u306f\u3001PHP\u7b49\u306e\u8a00\u8a9e\u3067\u30ed\u30b0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1776","post","type-post","status-publish","format-standard","hentry","category-etc"],"_links":{"self":[{"href":"https:\/\/kerokero.org\/wp\/wp-json\/wp\/v2\/posts\/1776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kerokero.org\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kerokero.org\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kerokero.org\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kerokero.org\/wp\/wp-json\/wp\/v2\/comments?post=1776"}],"version-history":[{"count":2,"href":"https:\/\/kerokero.org\/wp\/wp-json\/wp\/v2\/posts\/1776\/revisions"}],"predecessor-version":[{"id":1778,"href":"https:\/\/kerokero.org\/wp\/wp-json\/wp\/v2\/posts\/1776\/revisions\/1778"}],"wp:attachment":[{"href":"https:\/\/kerokero.org\/wp\/wp-json\/wp\/v2\/media?parent=1776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kerokero.org\/wp\/wp-json\/wp\/v2\/categories?post=1776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kerokero.org\/wp\/wp-json\/wp\/v2\/tags?post=1776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}