- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 69 for char (0.03 sec)
-
src/main/java/jcifs/util/SecureCredentialStorage.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
Field passwordField = NtlmPasswordAuthenticator.class.getDeclaredField("password"); passwordField.setAccessible(true); char[] originalPassword = (char[]) passwordField.get(authenticator); char[] clonedPassword = (char[]) passwordField.get(cloned); assertNotSame(originalPassword, clonedPassword, "Cloned password should be a different array instance");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
} /** * Test password in equals method */ @Test public void testEqualsWithSecurePassword() { char[] password1 = "TestPass123!".toCharArray(); char[] password2 = "TestPass123!".toCharArray(); char[] password3 = "DifferentPass!".toCharArray(); NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("DOMAIN", "user", password1);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
Arrays.fill(decrypted, '\0'); } @Test public void testEncryptDecryptEmpty() throws Exception { char[] plaintext = new char[0]; byte[] encrypted = storage.encryptCredentials(plaintext); assertNotNull(encrypted, "Encrypted empty data should not be null"); char[] decrypted = storage.decryptCredentials(encrypted); assertNotNull(decrypted, "Decrypted empty data should not be null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
char charA = (i < a.length) ? a[i] : '\0'; char charB = (i < b.length) ? b[i] : '\0'; result &= (charA == charB) ? 1 : 0; } return result == 1; } /** The authentication type */ private AuthenticationType type; /** The authentication domain */ private String domain; /** The username for authentication */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/smb/NtlmUtil.java
} /** * Generates the NT password hash for the given password. * This version accepts char[] for better security. * * @param password the password to hash as char array * @return nt password hash */ public static byte[] getNTHash(final char[] password) { if (password == null) { throw new NullPointerException("Password parameter is required");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
assertNotNull(constantTimeMethod, "constantTimeEquals method should exist"); constantTimeMethod.setAccessible(true); // Test the method directly char[] password1 = "testpassword".toCharArray(); char[] password2 = "testpassword".toCharArray(); char[] password3 = "testpassworX".toCharArray();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Strings.java
int size = (int) longSize; if (size != longSize) { throw new ArrayIndexOutOfBoundsException("Required array size too large: " + longSize); } char[] array = new char[size]; string.getChars(0, len, array, 0); int n; for (n = len; n < size - n; n <<= 1) { System.arraycopy(array, 0, array, n, n); } System.arraycopy(array, 0, array, n, size - n);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 12.2K bytes - Viewed (0) -
docs/en/docs/js/termynal.js
*/ async type(line) { const chars = [...line.textContent]; line.textContent = ''; this.container.appendChild(line); for (let char of chars) { const delay = line.getAttribute(`${this.pfx}-typeDelay`) || this.typeDelay; await this._wait(delay); line.textContent += char; } } /** * Animate a progress bar.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:32:57 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
passwordString = this.transportContext.getConfig().getGuestPassword(); } else { char[] passwordChars = this.auth.getPasswordAsCharArray(); if (passwordChars != null) { passwordString = new String(passwordChars); // Securely wipe the char array immediately after use java.util.Arrays.fill(passwordChars, '\0'); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0)