Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for DIGEST (0.07 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt

            .build()
        assertThat(headers.parseChallenges("WWW-Authenticate")).containsExactly(
          Challenge("Digest", mapOf()),
          Challenge("Basic", mapOf("realm" to "myrealm")),
        )
      }
    
      @Test fun unknownAuthParams() {
        val headers =
          Headers
            .Builder()
            .add("WWW-Authenticate", "Digest,,,, Basic ,,foo=bar,realm=\"myrealm\"")
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 16.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java

            assertNull(MessageDigestUtil.digest("MD5", null));
            assertEquals("ea703e7aa1efda0064eaa507d9e8ab7e", MessageDigestUtil.digest("MD5", text));
            assertEquals("31f30ddbcb1bf8446576f0e64aa4c88a9f055e3c", MessageDigestUtil.digest("SHA-1", text));
            assertEquals("ecb666d778725ec97307044d642bf4d160aabb76f56c0069c71ea25b1e926825", MessageDigestUtil.digest("SHA-256", text));
    
            try {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

            } catch (final UnsupportedEncodingException e) {
                throw new ClIllegalStateException(e);
            }
            final byte[] digest = msgDigest.digest();
    
            final StringBuilder buffer = new StringBuilder(200);
            for (final byte element : digest) {
                final String tmp = Integer.toHexString(element & 0xff);
                if (tmp.length() == 1) {
                    buffer.append('0').append(tmp);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

     * token68:
     *
     * ```
     * WWW-Authenticate: Digest foo=bar
     * WWW-Authenticate: Digest foo=
     * ```
     *
     * Similarly, the first line has one challenge and the second line has two challenges:
     *
     * ```
     * WWW-Authenticate: Digest ,foo=bar
     * WWW-Authenticate: Digest ,foo
     * ```
     */
    fun Headers.parseChallenges(headerName: String): List<Challenge> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. docs/works_with_okhttp.md

     * [OkHttp AWS Signer](https://github.com/babbel/okhttp-aws-signer): AWS V4 signing algorithm for OkHttp requests
     * [okhttp-digest](https://github.com/rburgst/okhttp-digest): A digest authenticator for OkHttp.
     * [OkHttp Idling Resource](https://github.com/JakeWharton/okhttp-idling-resource): An Espresso IdlingResource for OkHttp.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Feb 15 16:18:51 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. 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)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

            });
        }
    
        /**
         * Generates a hashed ID from the provided URL ID string.
         * Encodes special characters using URL encoding or Base64 encoding as needed,
         * then applies a message digest algorithm to create a unique hash.
         *
         * @param urlId the URL ID string to generate a hash for
         * @return a hashed ID string generated from the input URL ID
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

        /**
         * This type is syntactically identical to "multipart/mixed", but the semantics are different.
         * In particular, in a digest, the default `Content-Type` value for a body part is changed from
         * "text/plain" to "message/rfc822".
         */
        @JvmField
        val DIGEST = "multipart/digest".toMediaType()
    
        /**
         * This type is syntactically identical to "multipart/mixed", but the semantics are different.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

        MESSAGE_DIGEST_API() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            MessageDigest md = algorithm.getMessageDigest();
            md.update(input);
            return md.digest();
          }
        },
        HASH_FUNCTION_DIRECT() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            return algorithm.getHashFunction().hashBytes(input).asBytes();
          }
        },
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

        MESSAGE_DIGEST_API() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            MessageDigest md = algorithm.getMessageDigest();
            md.update(input);
            return md.digest();
          }
        },
        HASH_FUNCTION_DIRECT() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            return algorithm.getHashFunction().hashBytes(input).asBytes();
          }
        },
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top