diff -r 1444b4bee64b -r 093dcebe5ecb src/eric7/Utilities/crypto/py3PBKDF2.py --- a/src/eric7/Utilities/crypto/py3PBKDF2.py Sun Dec 03 16:44:52 2023 +0100 +++ b/src/eric7/Utilities/crypto/py3PBKDF2.py Sun Dec 03 19:46:34 2023 +0100 @@ -103,7 +103,7 @@ "'digestmod{0}iterations{0}salt{0}hashed_password".format(Delimiter) ) - if digestname not in Hashes.keys(): + if digestname not in Hashes: raise ValueError( "Unsupported hash algorithm '{0}' for hash encoded password '{1}'.".format( digestname, pwHash @@ -136,7 +136,7 @@ "'digestmod{0}iterations{0}salt".format(Delimiter) ) - if digestname not in Hashes.keys(): + if digestname not in Hashes: raise ValueError( "Unsupported hash algorithm '{0}' for hash parameters '{1}'.".format( digestname, hashParameters