Some sha256 changes
Added debug test for pbkdf2