- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 73 for uchar (0.22 sec)
-
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/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/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/dcerpc/UUID.java
} count++; } return value; } static final char[] HEXCHARS = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' }; private static String bin_to_hex(int value, final int length) { final char[] arr = new char[length]; int ai = arr.length; while (ai-- > 0) { arr[ai] = HEXCHARS[value & 0xF];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/UUID.java
* @return the hexadecimal string representation */ public static String bin_to_hex(int value, final int length) { final char[] arr = new char[length]; int ai = arr.length; while (ai-- > 0) { arr[ai] = HEXCHARS[value & 0xF]; value >>>= 4; } return new String(arr); } private static byte B(final int i) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
*len = debug_str.size(); char* ret = static_cast<char*>(malloc(*len + 1)); memcpy(ret, debug_str.c_str(), *len + 1); return ret; } char* TF_FunctionDebugString(TF_Function* func, size_t* len) { const auto& debug_str = DebugString(func->record->fdef()); *len = debug_str.size(); char* ret = static_cast<char*>(malloc(*len + 1)); memcpy(ret, debug_str.c_str(), *len + 1);
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Aug 18 03:53:25 UTC 2025 - 29.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/UnicodeString.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
if (length == 0) { return; } final int s = length % 16; final int r = s == 0 ? length / 16 : length / 16 + 1; final char[] c = new char[r * (74 + NL_LENGTH)]; final char[] d = new char[16]; int i; int si = 0; int ci = 0; do { toHexChars(si, c, ci, 5); ci += 5; c[ci] = ':';
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K 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)