pycryptodome
pycryptodome copied to clipboard
Support byte types for password to PBKDF1/2
The password is converted to bytes, so it should accept taking in bytes directly instead of just str. The description for PBKDF2 also specifies that the password can be a byte string. The types I've added are all that the tobytes function that is used to convert password supports.