add support for sha256 and sha512 for the nist kdf