- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getUnicodeHash (0.08 sec)
-
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
case 2: this.macSigningKey = new byte[40]; auth.getUserSessionKey(transport.getContext(), serverEncryptionKey, this.macSigningKey, 0); System.arraycopy(auth.getUnicodeHash(transport.getContext(), serverEncryptionKey), 0, this.macSigningKey, 16, 24); break; case 3: case 4: case 5: this.macSigningKey = new byte[16];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
* @throws GeneralSecurityException if a security error occurs * @deprecated NTLMv1 is insecure. Use NTLMv2 (LM compatibility level 3 or higher) */ @Deprecated public byte[] getUnicodeHash(CIFSContext tc, byte[] chlng) throws GeneralSecurityException { int compatibility = tc.getConfig().getLanManCompatibility(); // Log warning for insecure NTLMv1 usage if (compatibility < 3) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
* Computes the 24 byte Unicode password hash given the 8 byte server challenge. * * @param challenge the server challenge bytes * @return the Unicode password hash */ public byte[] getUnicodeHash(final byte[] challenge) { if (hashesExternal) { return unicodeHash; } return switch (LM_COMPATIBILITY) { case 0, 1, 2 -> getNTLMResponse(password, challenge);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
return null; }).when(mockAuth).getUserSessionKey(eq(mockContext), eq(serverEncryptionKey), any(byte[].class), eq(0)); when(mockAuth.getUnicodeHash(mockContext, serverEncryptionKey)).thenReturn(unicodeHash); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)