{"id":185,"date":"2010-02-03T23:24:08","date_gmt":"2010-02-03T22:24:08","guid":{"rendered":"http:\/\/kb.toderu.ro\/?p=185"},"modified":"2010-02-03T23:24:08","modified_gmt":"2010-02-03T22:24:08","slug":"php-crypt-password","status":"publish","type":"post","link":"https:\/\/kb.toderu.ro\/?p=185","title":{"rendered":"php crypt password"},"content":{"rendered":"<p>\t\t\t\t     &lt;?php<br \/>\n    $password = crypt(&#8216;mypassword&#8217; , &#8216;d4&#8217;);<br \/>\n    print $password . &#8221; is the CRYPT_STD_DES version of mypassword&lt;br&gt;&#8221;;<br \/>\n    $password = crypt(&#8216;mypassword&#8217; , &#8216;k783d.y1g&#8217;);<br \/>\n    print $password . &#8221; is the CRYPT_EXT_DES version of mypassword&lt;br&gt;&#8221;;<br \/>\n    $password = crypt(&#8216;mypassword&#8217; , &#8216;$1$d4juhy6d$&#8217;);<br \/>\n    print $password . &#8221; is the CRYPT_MD5 version of mypassword&lt;br&gt;&#8221;;<br \/>\n    $password = crypt(&#8216;mypassword&#8217; , &#8216;$2a$07$kiuhgfslerd&#8230;&#8230;&#8230;..$&#8217;);<br \/>\n    print $password . &#8221; is the CRYPT_BLOWFISH version of mypassword&lt;br&gt;&#8221;;<br \/>\n    ?&gt;<\/p>\n<p>This will output something like this:<\/p>\n<p>d4\/qPbCcJ5tD. is the CRYPT_STD_DES version of mypassword<br \/>\nk7xEagYCDPPSc is the CRYPT_EXT_DES version of mypassword<br \/>\n$1$d4juhy6d$a.jIPYnvne1FWF2V6mGQR0 is the CRYPT_MD5 version of mypassword<br \/>\n$2a$07$kiuhgfslerd&#8230;&#8230;&#8230;..6k0kSI76CqJ\/RWGnSp9MWRDF91gJZfW is the CRYPT_BLOWFISH version of mypassword\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&lt;?php $password = crypt(&#8216;mypassword&#8217; , &#8216;d4&#8217;); print $password . &#8221; is the CRYPT_STD_DES version of mypassword&lt;br&gt;&#8221;; $password = crypt(&#8216;mypassword&#8217; , &#8216;k783d.y1g&#8217;); print $password . &#8221; is the CRYPT_EXT_DES version of mypassword&lt;br&gt;&#8221;; $password = crypt(&#8216;mypassword&#8217; , &#8216;$1$d4juhy6d$&#8217;); print $password . &#8221; is the CRYPT_MD5 version of mypassword&lt;br&gt;&#8221;; $password = crypt(&#8216;mypassword&#8217; , &#8216;$2a$07$kiuhgfslerd&#8230;&#8230;&#8230;..$&#8217;); print $password . &#8221; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-185","post","type-post","status-publish","format-standard","hentry","category-php"],"_links":{"self":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/posts\/185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=185"}],"version-history":[{"count":0,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/posts\/185\/revisions"}],"wp:attachment":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}