Fixed the PBKDF2 function to convert Unicode seed strings into bytes.