- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for testRC4 (0.82 sec)
-
src/test/java/jcifs/util/CryptoTest.java
// Then assertNotNull(result); assertTrue(result.length > 0, "HMAC-T64 should produce non-empty result"); } @Test @DisplayName("Should perform RC4 encryption/decryption") void testRC4() throws Exception { // Given byte[] key = "testkey123456789".getBytes(); // 16 bytes byte[] plaintext = "This is a test message for RC4".getBytes(); // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
public void testPutAll() throws Exception { Map<String, String> m = new HashMap<String, String>(); m.put("3", "test3"); m.put("4", "test4"); map.putAll(m); assertThat(map.get("3"), is("test3")); assertThat(map.get("4"), is("test4")); assertThat(map.size(), is(5)); } /** * @throws Exception */ @Test
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/DisposableUtilTest.java
assertThat(count, is(3)); assertThat(names, is("ba")); assertThat(DisposableUtil.disposables.size(), is(0)); } /** * @throws Exception */ @Test public void test4() throws Exception { DisposableUtil.add(new TestDisposable("a")); DisposableUtil.addFirst(new TestDisposable("b")); assertThat(DisposableUtil.disposables.size(), is(2)); DisposableUtil.dispose();
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
} @Test @DisplayName("Test managed resource prevents use after close") void testManagedResourceUseAfterClose() throws Exception { TestResource resource = new TestResource("test4"); ResourceManager.ManagedResource<TestResource> managed = resourceManager.manage(resource); managed.close(); assertTrue(resource.isClosed());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0)