- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testEngineUpdateByte (0.28 sec)
-
src/test/java/jcifs/smb1/util/HMACT64Test.java
// Test constructor with a key shorter than BLOCK_LENGTH (64 bytes) HMACT64 hmac = new HMACT64(SHORT_TEST_KEY); assertNotNull(hmac); } @Test void testEngineUpdateByte() { // Test engineUpdate(byte b) HMACT64 hmac = new HMACT64(TEST_KEY); hmac.engineUpdate((byte) 0x01); // No exception means success } @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 testEngineUpdateByte() throws NoSuchAlgorithmException { // Test engineUpdate(byte b) try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) { mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0)