Reworked KDF specs.
JavaDOC fixes.