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