Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 93 for _hash (0.98 sec)

  1. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

        void testNTOWFv1() {
            byte[] hash = NtlmPasswordAuthentication.nTOWFv1("password");
            assertNotNull(hash);
            assertEquals(16, hash.length);
        }
    
        // Test nTOWFv2
        @Test
        void testNTOWFv2() {
            byte[] hash = NtlmPasswordAuthentication.nTOWFv2("DOMAIN", "user", "password");
            assertNotNull(hash);
            assertEquals(16, hash.length);
        }
    
        // Test unescape method
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

        }
    
        /**
         * Get channel binding hash
         *
         * @return binding hash bytes
         */
        public byte[] getBindingHash() {
            return bindingHash;
        }
    
        /**
         * Set channel binding hash
         *
         * @param bindingHash binding hash bytes
         */
        public void setBindingHash(byte[] bindingHash) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/CryptoTest.java

        @DisplayName("Should calculate MD4 hash correctly")
        void testMD4Hash() {
            // Given
            String input = "Hello World";
            byte[] data = input.getBytes();
    
            // When
            MessageDigest md4 = Crypto.getMD4();
            byte[] hash = md4.digest(data);
    
            // Then
            assertNotNull(hash);
            assertEquals(16, hash.length); // MD4 produces 128-bit hash
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            byte[] expectedHash = preauthService.getCurrentPreauthHash(sessionId);
    
            // Validation should pass with correct hash
            assertTrue(preauthService.validatePreauthIntegrity(sessionId, expectedHash));
    
            // Validation should fail with incorrect hash
            byte[] incorrectHash = new byte[expectedHash.length];
            secureRandom.nextBytes(incorrectHash);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        }
    
        /**
         * Generate the ANSI DES hash for the password associated with these credentials.
         *
         * @param password the password to hash
         * @param challenge the server challenge bytes
         * @return the ANSI DES hash response
         */
        static public byte[] getPreNTLMResponse(final String password, final byte[] challenge) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/go/GoForm.java

         */
        @Size(max = 10000)
        @Required
        public String rt;
    
        /**
         * Hash value for security or validation purposes.
         * This field is optional and used for request verification.
         */
        public String hash;
    
        /**
         * Query identifier associated with the search that led to this document access.
         * This is required for tracking and analytics purposes.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

                Arrays.sort(newInputs);
            }
        }
    
        /**
         * Calculates the hash code for this CharMappingItem based on inputs and output.
         *
         * @return the hash code value for this object
         */
        @Override
        public int hashCode() {
            return Objects.hash(Arrays.hashCode(inputs), output);
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/SecureKeyManager.java

                byte[] hash = md.digest(input);
                System.arraycopy(hash, 0, derived, 0, Math.min(length, hash.length));
    
                // If we need more bytes, hash again with counter
                int counter = 1;
                while (derived.length > hash.length * counter) {
                    md.update(input);
                    md.update((byte) counter);
                    hash = md.digest();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RequestData.java

         */
        public void setWeight(float weight) {
            this.weight = weight;
        }
    
        /**
         * Returns the hash code for this RequestData.
         * @return the hash code
         */
        @Override
        public int hashCode() {
            return Objects.hash(method, url, weight);
        }
    
        /**
         * Checks if this RequestData is equal to another object.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                assertEquals(context.size(), encodedSize);
                assertEquals(1, buffer[0]); // hash algo count (little endian)
                assertEquals(0, buffer[1]);
                assertEquals(8, buffer[2]); // salt length (little endian)
                assertEquals(0, buffer[3]);
                assertEquals(1, buffer[4]); // SHA512 hash algo (little endian)
                assertEquals(0, buffer[5]);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top