- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testConstructorWithShortKey (1.32 sec)
-
src/test/java/jcifs/smb1/util/HMACT64Test.java
// HMACT64 truncates keys at 64 bytes HMACT64 hmac = new HMACT64(LONG_TEST_KEY); assertNotNull(hmac); } @Test void testConstructorWithShortKey() { // Test constructor with a key shorter than BLOCK_LENGTH (64 bytes) HMACT64 hmac = new HMACT64(SHORT_TEST_KEY); assertNotNull(hmac); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
assertNotNull(hmac); verify(mockMd5, times(1)).reset(); verify(mockMd5, times(1)).update(any(byte[].class)); // Should update with ipad } } @Test void testConstructorWithShortKey() throws NoSuchAlgorithmException { // Test constructor with a key shorter than BLOCK_LENGTH (64 bytes) try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0)