{"id":6786,"date":"2010-07-05T10:59:51","date_gmt":"2010-07-05T08:59:51","guid":{"rendered":"http:\/\/funrecycler.com\/?p=6786"},"modified":"2010-07-05T10:59:51","modified_gmt":"2010-07-05T08:59:51","slug":"passwort-generator-script-reloaded","status":"publish","type":"post","link":"https:\/\/funrecycler.com\/index.php\/2010\/07\/05\/passwort-generator-script-reloaded\/","title":{"rendered":"Passwort-Generator-Script reloaded"},"content":{"rendered":"<p>Da ich die <a href=\"http:\/\/funrecycler.com\/?p=6751\">Idee vom IanG<\/a> cool fand und nicht unbedingt jeder gerade eine Linux-Shell zur Hand hat, habe ich mal das Script hier ins Blog &#8222;portiert&#8220;.<br \/>\n<!--more--><br \/>\nDie Bedienung ist wieder gleich: Masterpasswort und Projektname eingeben. Vielleicht noch die Passl\u00e4nge und &#8222;Generieren&#8220; dr\u00fccken.<br \/>\nNoch was zur Beruhigung: Das Passwort wird hier im Browser per JavaScript generiert und <strong>nicht<\/strong> Server-seitig!<br \/>\n<script type=\"text\/javascript\" src=\"http:\/\/funrecycler.com\/wp-content\/uploads\/2010\/07\/webtoolkit.sha1_.c.js\"><\/script><br \/>\n<script type=\"text\/javascript\">\nfunction frpgdo() {\ns1=document.getElementById('pg1').value;\ns2=document.getElementById('pg2').value;\ns3=parseInt(document.getElementById('pg3').value);\ndocument.getElementById('pg4').innerHTML=SHA1(s1+' '+s2+'\\n').substr(0, (s3>0?s3:8));\n}\n<\/script><br \/>\nMASTER-Passwort: <input type=\"password\" id=\"pg1\" style=\"width: 200px;\" \/><br \/>\n<br \/>\nProjektname: <input id=\"pg2\" style=\"width: 200px;\" type=\"text\" \/><br \/>\n<br \/>\nAnzahl Zeichen: <input id=\"pg3\" style=\"width: 200px;\" type=\"text\" value=\"8\" \/><br \/>\n<br \/>\n<button onclick=\"frpgdo()\">Generieren<\/button><br \/>\n<\/p>\n<h2>Resultat: <span id=\"pg4\" style=\"font-family:'Courier New',monospace\"><\/span><\/h2>\n","protected":false},"excerpt":{"rendered":"<p>Da ich die Idee vom IanG cool fand und nicht unbedingt jeder gerade eine Linux-Shell zur Hand hat,<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[1694,1984,2323],"class_list":["post-6786","post","type-post","status-publish","format-standard","hentry","category-computer-und-technik","tag-master","tag-passwort","tag-script"],"_links":{"self":[{"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/wp\/v2\/posts\/6786","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/wp\/v2\/comments?post=6786"}],"version-history":[{"count":0,"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/wp\/v2\/posts\/6786\/revisions"}],"wp:attachment":[{"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/wp\/v2\/media?parent=6786"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/wp\/v2\/categories?post=6786"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/wp\/v2\/tags?post=6786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}