{"blog_url":"https://y0m0r.hateblo.jp/","blog_title":"\u30e1\u30e2\u7f6e\u304d\u5834","provider_name":"Hatena Blog","author_name":"yuheiomori0718","title":"Django\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u30ea\u30bb\u30c3\u30c8\u3067token\u306e\u4e00\u81f4\u78ba\u8a8d\u306b\u4f7f\u308f\u308c\u308bconstant_time_compare","version":"1.0","type":"rich","url":"https://y0m0r.hateblo.jp/entry/20130531/1370012454","provider_url":"https://hatena.blog","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20130531%2F1370012454\" title=\"Django\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u30ea\u30bb\u30c3\u30c8\u3067token\u306e\u4e00\u81f4\u78ba\u8a8d\u306b\u4f7f\u308f\u308c\u308bconstant_time_compare - \u30e1\u30e2\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"description":"\u3053\u3093\u306a\u95a2\u6570\u306a\u3093\u3067\u3059\u304c\u3001\u306a\u3093\u3067\u6587\u5b57\u5217\u306e==\u3067\u306a\u304f\u3001\u308f\u3056\u308f\u3056\u3053\u3093\u306a\u3053\u3068\u3057\u3066\u308b\u3093\u3067\u3057\u3087\u3046\u304b\uff1f django\u306e1.3\u306e\u9803\u306f\u666e\u901a\u306b\u6bd4\u8f03\u3057\u3066\u305f\u3068\u601d\u3046\u3093\u3067\u3059\u304c\u3002 django.utils.crypto.py def constant_time_compare(val1, val2): \"\"\" Returns True if the two strings are equal, False otherwise. The time taken is independent of the number of characters that match. \"\"\" if len(val1) != len(val2):\u2026","published":"2013-05-31 00:00:54","categories":["django"],"author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","width":"100%"}