Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 168 for DIGEST (0.07 seconds)

  1. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

        }
    
        /**
         * Creates a digest (abbreviated summary) of document content.
         * Truncates and normalizes content to create a summary suitable for display.
         *
         * @param responseData the response data from crawling (not currently used)
         * @param content the content to create a digest from
         * @param dataMap additional data map (not currently used)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

            }
        }
    
        @Nested
        @DisplayName("Signature Verification Tests")
        class SignatureVerificationTests {
    
            @Test
            @DisplayName("Should verify signature when digest is present and successful")
            void testVerifySignatureSuccess() throws Exception {
                byte[] buffer = new byte[1024];
                echoResponse.setDigest(mockDigest);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

          throws NoSuchAlgorithmException {
        MessageDigest digest = MessageDigest.getInstance(algorithmName);
        assertEquals(
            HashCode.fromBytes(digest.digest(input)), ALGORITHMS.get(algorithmName).hashBytes(input));
        for (int bytes = 4; bytes <= digest.getDigestLength(); bytes++) {
          assertEquals(
              HashCode.fromBytes(Arrays.copyOf(digest.digest(input), bytes)),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            byte[] digest = md.digest();
    
            String md5path = repository.pathOf(artifact) + ".md5";
            File md5artifactFile = new File(repository.getBasedir(), md5path);
            try (Writer writer =
                    new OutputStreamWriter(new FileOutputStream(md5artifactFile), StandardCharsets.ISO_8859_1)) {
                writer.append(printHexBinary(digest));
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 09:40:15 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/NtlmUtil.java

            hmac.update(Strings.getUNIBytes(user.toUpperCase()));
            hmac.update(Strings.getUNIBytes(domain.toUpperCase()));
            hmac = Crypto.getHMACT64(hmac.digest());
            hmac.update(challenge);
            hmac.update(clientChallenge);
            hmac.digest(response, 0, 16);
            System.arraycopy(clientChallenge, 0, response, 16, 8);
            return response;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            request.flags2 |= flags2;
            request.useUnicode = useUnicode;
            request.response = response; /* needed by sign */
            if (request.digest == null) {
                request.digest = digest; /* for sign called in encode */
            }
    
            try {
                if (response == null) {
                    doSend0(request);
                    return;
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/NotifyResponseTest.java

                // Mock implementation
                return 0;
            }
    
            @Override
            public void setDigest(SMBSigningDigest digest) {
                this.digest = digest;
            }
    
            @Override
            public SMBSigningDigest getDigest() {
                return this.digest;
            }
    
            @Override
            public CommonServerMessageBlockResponse getResponse() {
                return this.response;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/PreauthIntegrityService.java

                }
    
                // SMB 3.1.1 spec: Hash = Hash(PreviousHash || Message)
                digest.update(previousHash);
                digest.update(messageData);
    
                return digest.digest();
            } catch (NoSuchAlgorithmException e) {
                throw new CIFSException("Hash algorithm not available: " + hashAlgorithm, e);
            }
        }
    
        /**
         * Gets the name of a hash algorithm.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        public Smb2SigningDigest getDigest() {
            return this.digest;
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlock#setDigest(jcifs.internal.SMBSigningDigest)
         */
        @Override
        public void setDigest(final SMBSigningDigest digest) {
            this.digest = (Smb2SigningDigest) digest;
            if (this.next != null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                assertTrue(testMessage.isResponse());
            }
        }
    
        @Nested
        @DisplayName("Digest Tests")
        class DigestTests {
    
            @Test
            @DisplayName("Should get and set digest")
            void testDigestProperty() {
                assertNull(testMessage.getDigest());
                testMessage.setDigest(mockDigest);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 39.5K bytes
    - Click Count (0)
Back to Top