2^52.5ããã·ã¥
ã¨ãã»ãã¥ã¢ããã°ã®è¨äºï¼
エフセキュアブログ : 「SHA-1+salt」はパスワードに十分だと思いますか?
SHA ã®è¨ç®ããGPU ã§å¹çããè¨ç®ã§ããã®ã§ãæãã®å¤ããã«ã¼ããã©ã¼ã¹ã®å¹çãè¯ããã¨ãã話ãªãã ãã©ããã®æä¸ã«åºã¦ããã2^52.5ããã·ã¥ãã¨ããã®ãå®æåºæ¥ãªãã£ãã
æ»æè ã¯33æ¥ã§å ¸åçã¬ã¤ã³ãã¼ãã¼ãã«ï¼2^52.5ããã·ã¥ï¼ã«ç¸å½ãããã¹ã¯ã¼ãã¹ãã¼ã¹ãã«ãã¼ãããã¨ãã§ãã
ã2^52.5ããã·ã¥ãã¨ããã®ããã252.5 åã®ããã·ã¥å¤ãã¨ããæå³ã ã¨ããã¨ãå®éã«ã©ã®ãããã®æ°ãè¨ç®ãã¦è¦ãã¨ã6.369051672525773Ã1015 ã¨ããäºã«ãªããææ°è¡¨ç¾ã ã¨å®æããããªãã®ã§ã252 åã§è¨ç®ãã㨠4,503,599,627,370,496 åã¨ãªãã
ãããããããã ãã®æ°ã®ããã·ã¥å¤ã£ã¦ããã¹ã¯ã¼ãä½æåç¸å½ãï¼ãã¨ããã®ãããããªãã¨ãæ¬å½ã®è å¨ã¯åãããªãã使ããæå種ã ASCII è±æ°è¨å·ã® 95 æåã¨ãã¦è¨ç®ããã¨ã
log954503599627370496 = 7.914937...
ã¨ãªã£ãã
å è¨äºã®å¤ã¯ 252.5 ãªã®ã§ãããã·ã¥å¤ã®åæ°ã¯ç´ 1.4 åã«ãªãã®ã§ããã®ç¹ãå«ãã¦8æåç¸å½ãã¨ãããã¨ããªã
...ã¨èããã¨ãå è¨äºã®è¶£æ¨ã¯ã8 æåã¾ã§ã®ãã¹ã¯ã¼ãã«å¯¾ãããã«ã¼ããã©ã¼ã¹ã 33 æ¥éã§ã§ãããã¨ãããã¨ãããã
確ãã«ã8 æåã®ãã¹ã¯ã¼ãã 33 æ¥éã¨ããã®ã¯ãããªãé©ç°ããã10 æåã«ããã°ã
33 à 95 à 95 = 297,825 æ¥ = ç´ 800 å¹´ä½ã
ãªã®ã§ã10 æåãããã«ãã¦ãããæ¹ãè¯ãããã
ãã«ã¼ããã©ã¼ã¹ãå¹çããåºæ¥ãã®ãªããããã¹ã¯ã¼ã vs ãã¹ãã¬ã¼ãºãã¯ãã¹ãã¬ã¼ãºã«è»é ãä¸ãããããªæ°ããããªãã