- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for isHashAlgorithmSupported (0.8 sec)
-
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
} @Test @DisplayName("Test supported hash algorithms") public void testSupportedHashAlgorithms() { assertTrue(preauthService.isHashAlgorithmSupported(PreauthIntegrityService.HASH_ALGO_SHA512)); assertFalse(preauthService.isHashAlgorithmSupported(0xFF)); // Unsupported int[] supported = preauthService.getSupportedHashAlgorithms(); assertNotNull(supported);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
} if (salt == null || salt.length < 16) { throw new CIFSException("Invalid preauth salt: minimum 16 bytes required"); } if (!isHashAlgorithmSupported(hashAlgorithm)) { throw new CIFSException("Unsupported hash algorithm: " + hashAlgorithm); } PreauthIntegrityContext context = new PreauthIntegrityContext(salt, hashAlgorithm);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0)