- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 231 for PassworD (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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/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/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) -
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) -
src/main/java/jcifs/ntlmssp/Type3Message.java
* @param targetName * SPN of the target system, optional * @param passwordHash * The NT password hash, takes precedence over password (which is no longer required unless legacy LM * authentication is needed) * @param password * The password to use when constructing the response. * @param domain * The domain in which the user has an account.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 32.7K bytes - Click Count (0) -
fastapi/security/oauth2.py
class OAuth2PasswordRequestForm: """ This is a dependency class to collect the `username` and `password` as form data for an OAuth2 password flow. The OAuth2 specification dictates that for a password flow the data should be collected using form data (instead of JSON) and that it should have the specific fields `username` and `password`. All the initialization parameters are extracted from the request.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 24 16:32:10 GMT 2026 - 23.6K bytes - Click Count (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
/// ## Password hashing { #password-hashing } "Hashing" means converting some content (a password in this case) into a sequence of bytes (just a string) that looks like gibberish. Whenever you pass exactly the same content (exactly the same password) you get exactly the same gibberish. But you cannot convert from the gibberish back to the password. ### Why use password hashing { #why-use-password-hashing }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 10.7K bytes - Click Count (0)