@Test
public void findIntegrity() throws DecoderException {

    String bytes = "000100502112a442e9dec49e8038338d00f9a79c0006001162323064306166343a623230643061663400000000250000002400046e7f00ff802a00081eb6ff2cf7589cd700080014020b27ff78fbd931427c9f4518b9f40d5415562e8028000473cf7c86";
    String noFinger2 = "000100482112a442e9dec49e8038338d00f9a79c0006001162323064306166343a623230643061663400000000250000002400046e7f00ff802a00081eb6ff2cf7589cd7";
    byte[] msg = Hex.decodeHex(noFinger2.toCharArray());
    byte[] mac = Hex.decodeHex("020b27ff78fbd931427c9f4518b9f40d5415562e".toCharArray());
    String password = "230f754083a9070aff5bd1ced7654a9c";
    byte[] compMac = SignalUtil.hmacSha1(msg,password.getBytes());
    System.out.println(Hex.encodeHexString(mac) +"  " + Hex.encodeHexString(compMac));
    assertTrue(Arrays.equals(mac,compMac));
}