private static byte [ ] extract ( byte [ ] salt , byte [ ] inputKeyingMaterial ) { return initHmacSha256 ( salt == null ? NULL_SALT : salt ) . doFinal ( inputKeyingMaterial ) ; }
The extract stage of the extract - then - expand HKDF algorithm .