- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 519 for PassworD (0.1 seconds)
-
src/main/java/jcifs/smb/NtlmUtil.java
return hmac.digest(); } /** * Generates the NT password hash for the given password. * * @param password the password to hash * @return nt password hash */ public static byte[] getNTHash(final String password) { if (password == null) { throw new NullPointerException("Password parameter is required"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
// Get the password field using reflection Field passwordField = NtlmPasswordAuthenticator.class.getDeclaredField("password"); passwordField.setAccessible(true); // Verify password exists before wipe char[] passwordBefore = (char[]) passwordField.get(authenticator); assertNotNull(passwordBefore, "Password should exist before wipe");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
return ntResponse; } /** * Generates the NTOWFv1 hash for the given password. * * @param password the password to hash * @return the NTOWFv1 hash bytes */ public static byte[] nTOWFv1(final String password) { if (password == null) { throw new RuntimeException("Password parameter is required"); } try { final MD4 md4 = new MD4();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 26.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
} /** * Test secure password wiping */ @Test public void testSecureWipePassword() { String testPassword = "SecurePassword456!"; NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("testuser", testPassword); // Verify password is set assertEquals(testPassword, auth.getPassword()); // Wipe password auth.secureWipePassword();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
} } // Test constructor with domain, username, and password @Test void testConstructorWithDomainUsernamePassword() { NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("DOMAIN", "user", "password"); assertEquals("DOMAIN", auth.getDomain()); assertEquals("user", auth.getUsername()); assertEquals("password", auth.getPassword()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
} return out; } @Test @DisplayName("getNTHash: known vector for 'password'") void testGetNTHash_knownVector() { // Arrange String password = "password"; // Known NT hash for "password" (UTF-16LE MD4) // This is a well-known test vector: password -> 8846F7EAEE8FB117AD06BDD830B7586C byte[] expected = hex("8846F7EAEE8FB117AD06BDD830B7586C"); // ActCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12K bytes - Click Count (1) -
tests/test_security_oauth2_optional.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
* the supplied password. * * @param type2 The Type-2 message. * @param password The password. * @return A <code>byte[]</code> containing the LanManager response. */ public static byte[] getLMResponse(final Type2Message type2, final String password) { if (type2 == null || password == null) { return null; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 24.1K bytes - Click Count (0) -
tests/test_security_oauth2.py
"msg": "String should match pattern '^password$'", "input": grant_type, "ctx": {"pattern": "^password$"}, } ] } def test_strict_login_correct_grant_type(): response = client.post( "/login", data={"username": "johndoe", "password": "secret", "grant_type": "password"}, ) assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 9.8K bytes - Click Count (0) -
tests/test_security_oauth2_optional_description.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.9K bytes - Click Count (0)