This commit is contained in:
Looly
2023-05-04 02:48:07 +08:00
parent b6f970ce20
commit 6607b3ab6e
7 changed files with 199 additions and 91 deletions

View File

@@ -13,7 +13,7 @@ public class Md5Test {
@Test
public void md5To16Test() {
final String hex16 = new MD5().digestHex16("中国");
final String hex16 = MD5.of().digestHex16("中国");
Assertions.assertEquals(16, hex16.length());
Assertions.assertEquals("cb143acd6c929826", hex16);
}