public static String hmacSHA1(String data, String key) {
        return hmacSHA1(data.getBytes(), key.getBytes());
    }
@Test
    public void testHmacSHA1() throws Exception {
        String biezhiHmacSHA1 = "39da095531c5801f4bfb0e9b0244b62e6229bfb5";
        Assert.assertEquals(
                biezhiHmacSHA1,
                EncryptKit.hmacSHA1("biezhi", biezhiHmackey)
        );
        Assert.assertEquals(
                biezhiHmacSHA1,
                EncryptKit.hmacSHA1("biezhi".getBytes(), biezhiHmackey.getBytes())
        );
        TestCase.assertTrue(
                Arrays.equals(
                        ConvertKit.hexString2Bytes(biezhiHmacSHA1),
                        EncryptKit.hmacSHA1ToByte("biezhi".getBytes(), biezhiHmackey.getBytes())
                )
        );
    }