Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hmacSha1 (0.04 sec)

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

        assertEquals(
            "Hashing.hmacSha1(Key[algorithm=HmacSHA1, format=RAW])",
            Hashing.hmacSha1(SHA1_KEY).toString());
        assertEquals(
            "Hashing.hmacSha1(Key[algorithm=HmacSHA1, format=RAW])",
            Hashing.hmacSha1(keyData).toString());
    
        assertEquals(
            "Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

       * @param key the secret key
       * @throws IllegalArgumentException if the given key is inappropriate for initializing this MAC
       * @since 20.0
       */
      public static HashFunction hmacSha1(Key key) {
        return new MacHashFunction("HmacSHA1", key, hmacToString("hmacSha1", key));
      }
    
      /**
       * Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top