mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-08-18 20:38:02 +08:00
add des test
This commit is contained in:
@@ -38,4 +38,10 @@ public class DesTest {
|
|||||||
|
|
||||||
Assert.assertEquals(content, result);
|
Assert.assertEquals(content, result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void issueI5I5B3Test(){
|
||||||
|
final DES des = new DES(Mode.CTS, Padding.PKCS5Padding, "1234567890".getBytes(), "12345678".getBytes());
|
||||||
|
des.encryptHex("root");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user