Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for encodeHex (0.06 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

            byte[] bytes = Files.readAllBytes(file.toPath());
    
            MessageDigest digest = MessageDigest.getInstance("SHA-1");
            char[] encoded = Hex.encodeHex(digest.digest(bytes));
            return String.copyValueOf(encoded);
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/xml/DomUtil.java

            return buf.toString();
        }
    
        /**
         * Encodes the text.
         *
         * @param s
         *            The text.
         * @return The encoded text.
         */
        public static String encodeText(final String s) {
            if (s == null) {
                return null;
            }
            final char[] content = s.toCharArray();
            final StringBuilder buf = new StringBuilder(s.length() + 100);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

              "mIE65swMM5/RNhS4aFjez/MwxFNOHaxc9VgCwYPXCLOtdf7AVovdyG0XWgbUXH+NyxKwboE"
          ).decodeBase64()!!
    
        val x509PublicKey =
          encodeKey(
            algorithm = RSA_ENCRYPTION,
            publicKeyBytes = publicKeyBytes,
          )
        val keyFactory = KeyFactory.getInstance("RSA")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  4. docs/fr/docs/advanced/custom-response.md

    Prend du texte ou des octets et renvoie une réponse en texte brut.
    
    {* ../../docs_src/custom_response/tutorial005_py310.py hl[2,7,9] *}
    
    ### `JSONResponse` { #jsonresponse }
    
    Prend des données et renvoie une réponse encodée en `application/json`.
    
    C'est la réponse par défaut utilisée dans **FastAPI**, comme vous l'avez lu ci-dessus.
    
    /// note | Détails techniques
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.3K bytes
    - Click Count (0)
Back to Top