mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
add des test
This commit is contained in:
parent
db05a423dc
commit
e7ed50a789
@ -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");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user