Drop the "alleged" from RAR5 algorithm name. It actually is
PBKDF2. Also fix some bugs and comments in valid().