ãããªé¢æ°ãªãã§ããããªãã§æååã®==ã§ãªãããããããããªãã¨ãã¦ããã§ããããï¼ djangoã®1.3ã®é ã¯æ®éã«æ¯è¼ãã¦ãã¨æããã§ããã 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): return False result = 0 if six.PY3 and isinstance(val1, bytes) and isinstance(val2, bytes): for x,
{{#tags}}- {{label}}
{{/tags}}