fixed some comments, fixed a bug that occurs if the original salt for the pbkdf handler isn't 32 bytes, and wrote a unit test to ensure it works