Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for hmacMd5 (0.04 seconds)

  1. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

      public void testToString() {
        byte[] keyData = "secret key".getBytes(UTF_8);
    
        assertThat(hmacMd5(MD5_KEY).toString())
            .isEqualTo("Hashing.hmacMd5(Key[algorithm=HmacMD5, format=RAW])");
        assertThat(hmacMd5(keyData).toString())
            .isEqualTo("Hashing.hmacMd5(Key[algorithm=HmacMD5, format=RAW])");
    
        assertThat(hmacSha1(SHA1_KEY).toString())
            .isEqualTo("Hashing.hmacSha1(Key[algorithm=HmacSHA1, format=RAW])");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

       * href="https://datatracker.ietf.org/doc/html/rfc6151#section-2.3">over {@code hmacMd5}</a>.
       *
       * @param key the secret key
       * @throws IllegalArgumentException if the given key is inappropriate for initializing this MAC
       * @since 20.0
       */
      public static HashFunction hmacMd5(Key key) {
        return new MacHashFunction("HmacMD5", key, hmacToString("hmacMd5", key));
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
Back to Top