diff --git a/dateparser/conf.py b/dateparser/conf.py index 3a7c41f89..53b8a192d 100644 --- a/dateparser/conf.py +++ b/dateparser/conf.py @@ -46,7 +46,7 @@ def get_key(cls, settings=None): return 'default' keys = sorted(['%s-%s' % (key, str(settings[key])) for key in settings]) - return hashlib.md5(''.join(keys).encode('utf-8')).hexdigest() + return hashlib.md5(''.join(keys).encode('utf-8'), usedforsecurity=False).hexdigest() @classmethod def _get_settings_from_pyfile(cls):