Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for secureWipePassword (0.11 seconds)

  1. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            // Perform secure wipe
            auth.secureWipePassword();
    
            // Password should be null after wipe
            assertNull(auth.getPassword());
            assertNull(auth.getPasswordAsCharArray());
    
            // Calling wipe again should be safe
            auth.secureWipePassword();
            assertNull(auth.getPassword());
        }
    
        /**
    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)
  2. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

        }
    
        /**
         * Securely wipes the password from memory
         */
        public void secureWipePassword() {
            if (this.password != null) {
                // Multi-pass secure wipe of password char array
                Arrays.fill(this.password, '\0');
                Arrays.fill(this.password, '\uFFFF');
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
Back to Top