IDMask is a Java library for masking internal ids (e.g. from your DB) when they need to be published to hide their actual value and to prevent forging. It has support optional randomisation has a wide support for various Java types including long, UUID and BigInteger.
Implementation of the single-step key derivation function (KDF) as described in NIST Special Publication 800-56C Rev1 supporting messages digest and HMAC.
This was originally posted as an answer to the question “Is HKDF implemented in Java Cryptography Architecture?” on stackoverflow.com.
A standalone Java 7 implementation of HMAC-based key derivation function (HKDF) defined in RFC 5869 first described by Hugo Krawczyk. HKDF follows the “extract-then-expand” paradigm which is compatible to NIST 800-56C Rev. 1 two step KDF