pycryptodome icon indicating copy to clipboard operation
pycryptodome copied to clipboard

Support byte types for password to PBKDF1/2

Open trygveaa opened this issue 1 year ago • 0 comments

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.

trygveaa avatar Nov 19 '24 21:11 trygveaa