Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 481 for Hashing (0.16 sec)

  1. guava/src/com/google/common/hash/Hashing.java

       * specific length.
       *
       * <p>For example, if you need 1024-bit hash codes, you could join two {@link Hashing#sha512} hash
       * functions together: {@code Hashing.concatenating(Hashing.sha512(), Hashing.sha512())}.
       *
       * @since 19.0
       */
      public static HashFunction concatenating(
          HashFunction first, HashFunction second, HashFunction... rest) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  2. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

    import static org.gradle.internal.hash.HashCode.Usage.SAFE_TO_REUSE_BYTES;
    
    /**
     * Some popular hash functions. Replacement for Guava's hashing utilities.
     * Inspired by the Google Guava project – https://github.com/google/guava.
     */
    public class Hashing {
        private Hashing() {
        }
    
        private static final HashFunction MD5 = MessageDigestHashFunction.of("MD5");
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:30 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

       * specific length.
       *
       * <p>For example, if you need 1024-bit hash codes, you could join two {@link Hashing#sha512} hash
       * functions together: {@code Hashing.concatenating(Hashing.sha512(), Hashing.sha512())}.
       *
       * @since 19.0
       */
      public static HashFunction concatenating(
          HashFunction first, HashFunction second, HashFunction... rest) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        assertEquals(
            "Hashing.hmacMd5(Key[algorithm=HmacMD5, format=RAW])", Hashing.hmacMd5(MD5_KEY).toString());
        assertEquals(
            "Hashing.hmacMd5(Key[algorithm=HmacMD5, format=RAW])", Hashing.hmacMd5(keyData).toString());
    
        assertEquals(
            "Hashing.hmacSha1(Key[algorithm=HmacSHA1, format=RAW])",
            Hashing.hmacSha1(SHA1_KEY).toString());
        assertEquals(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        assertEquals(
            "Hashing.hmacMd5(Key[algorithm=HmacMD5, format=RAW])", Hashing.hmacMd5(MD5_KEY).toString());
        assertEquals(
            "Hashing.hmacMd5(Key[algorithm=HmacMD5, format=RAW])", Hashing.hmacMd5(keyData).toString());
    
        assertEquals(
            "Hashing.hmacSha1(Key[algorithm=HmacSHA1, format=RAW])",
            Hashing.hmacSha1(SHA1_KEY).toString());
        assertEquals(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/api/internal/artifacts/verification/DependencyVerificationFixture.groovy

                        function = Hashing.sha1()
                    } else if (algo == "md5") {
                        function = Hashing.md5()
                    }
                    break
                case "sha256":
                    function = Hashing.sha256()
                    break
                case "sha512":
                    function = Hashing.sha512()
                    break
                default:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. subprojects/core/src/testFixtures/groovy/org/gradle/util/TestUtil.groovy

                            @Override
                            HashCode md5(File file) {
                                Hashing.md5().hashBytes(file.bytes)
                            }
    
                            @Override
                            HashCode sha1(File file) {
                                Hashing.sha1().hashBytes(file.bytes)
                            }
    
                            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/AbstractMavenModule.groovy

                        assert Hashing.sha1().hashFile(artifact.file) == file.sha1
                        if (checkExtraChecksums && (!artifact.file.name in missingExtra)) {
                            assert Hashing.sha256().hashFile(artifact.file) == file.sha256
                            assert Hashing.sha512().hashFile(artifact.file) == file.sha512
                        }
                        assert Hashing.md5(). hashFile(artifact.file) == file.md5
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/oauth2-jwt.md

    ## Password hashing
    
    "Hashing" means converting some content (a password in this case) into a sequence of bytes (just a string) that looks like gibberish.
    
    Whenever you pass exactly the same content (exactly the same password) you get exactly the same gibberish.
    
    But you cannot convert from the gibberish back to the password.
    
    ### Why use password hashing
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publisher/AbstractMavenPublisher.java

                publishChecksum(destination, content, Hashing.sha1());
                publishChecksum(destination, content, Hashing.md5());
                if (!ExternalResourceResolver.disableExtraChecksums()) {
                    publishPossiblyUnsupportedChecksum(destination, content, Hashing.sha256());
                    publishPossiblyUnsupportedChecksum(destination, content, Hashing.sha512());
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 12:20:56 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top