diff --git a/dateparser/conf.py b/dateparser/conf.py index 53b8a192d..3a7c41f89 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'), usedforsecurity=False).hexdigest() + return hashlib.md5(''.join(keys).encode('utf-8')).hexdigest() @classmethod def _get_settings_from_pyfile(cls):