- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for toCharArray (0.05 sec)
-
src/test/java/jcifs/util/SecureCredentialStorageTest.java
private SecureCredentialStorage storage; private char[] masterPassword; @BeforeEach public void setUp() throws Exception { masterPassword = "MasterPassword123!@#".toCharArray(); storage = new SecureCredentialStorage(masterPassword.clone()); } @AfterEach public void tearDown() throws Exception { if (storage != null && !storage.isDestroyed()) {
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/NtlmPasswordAuthenticatorTest.java
assertFalse(userAuth.isGuest()); assertFalse(userAuth.isAnonymous()); } /** * Test password in equals method */ @Test public void testEqualsWithSecurePassword() { char[] password1 = "TestPass123!".toCharArray(); char[] password2 = "TestPass123!".toCharArray();
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/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
char[] basePassword = "supersecretpassword123456789".toCharArray(); char[] diffAtStart = "Xupersecretpassword123456789".toCharArray(); char[] diffAtMiddle = "supersecretpXssword123456789".toCharArray(); char[] diffAtEnd = "supersecretpassword12345678X".toCharArray(); // Create authenticators
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
Object passwordValue = passwordField.get(authenticator); assertTrue(passwordValue instanceof char[], "Password should be stored as char[]"); assertArrayEquals("password123".toCharArray(), (char[]) passwordValue, "Password content should match"); } @Test @DisplayName("Test secure password wipe") void testSecureWipePassword() throws Exception {
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/main/java/org/codelibs/core/xml/DomUtil.java
* @return The encoded attribute value. */ public static String encodeAttrQuot(final String s) { if (s == null) { return null; } final char[] content = s.toCharArray(); final StringBuilder buf = new StringBuilder(s.length() + 100); for (final char element : content) { switch (element) { case '<': buf.append("<");
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 10.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/BenchmarkHelpers.java
+ "\u0ce6\u0d66\u0e50\u0ed0\u0f20\u1040\u1090\u17e0\u1810\u1946" + "\u19d0\u1b50\u1bb0\u1c40\u1c50\ua620\ua8d0\ua900\uaa50\uff10"; for (char base : zeros.toCharArray()) { for (int offset = 0; offset < 10; offset++) { sb.append((char) (base + offset)); } } ALL_DIGITS = sb.toString(); } /** Sample CharMatcher instances for benchmarking. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/UUID.java
/** * Construct a UUID from string * * @param str * the string representation of the UUID to parse */ public UUID(final String str) { final char[] arr = str.toCharArray(); this.time_low = hex_to_bin(arr, 0, 8); this.time_mid = S(hex_to_bin(arr, 9, 4)); this.time_hi_and_version = S(hex_to_bin(arr, 14, 4));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
+ "\u3000\uf8ff\ufeff\ufffb"; static final CharMatcher INSTANCE = new Invisible(); private Invisible() { super("CharMatcher.invisible()", RANGE_STARTS.toCharArray(), RANGE_ENDS.toCharArray()); } } /** Implementation of {@link #singleWidth()}. */ private static final class SingleWidth extends RangesMatcher {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 53.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
this.domain = dom != null ? dom : defDomain != null ? defDomain : ""; this.username = user != null ? user : defUser != null ? defUser : ""; this.password = pass != null ? pass.toCharArray() : defPassword != null ? defPassword.toCharArray() : new char[0]; if (type == null) { this.type = guessAuthenticationType(); } else { this.type = type; } } /**
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/dcerpc/UUID.java
/** * Constructs a UUID from a string representation * * @param str the string representation of the UUID to parse */ public UUID(final String str) { final char[] arr = str.toCharArray(); time_low = hex_to_bin(arr, 0, 8); time_mid = S(hex_to_bin(arr, 9, 4)); time_hi_and_version = S(hex_to_bin(arr, 14, 4)); clock_seq_hi_and_reserved = B(hex_to_bin(arr, 19, 2));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0)