Changes
- refactor HkdfMacFactory to accept
SecretKey
types instead of byte array - helps to be compatible with some security frameworks #4
Breaking Change
The interface HkdfMacFactory changed to accept SecretKey
and two new methods where added for creating
a secret key from a raw byte source and to return the mac length in bytes. See the default implementation
for details on how to implement this if you need a custom impl.
This is marked as the first fully stable release. It is basically v0.4.4 bumped to 1.0.0
Minor Changes
- add checkstyle rules
- change api from
extract(ikm,salt)
to a more RFC compliantextract(salt,ikm)
(alsoextractAndExpand()
)