Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for hmacSha1 (0.05 seconds)

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

            .isEqualTo("Hashing.hmacMd5(Key[algorithm=HmacMD5, format=RAW])");
    
        assertThat(hmacSha1(SHA1_KEY).toString())
            .isEqualTo("Hashing.hmacSha1(Key[algorithm=HmacSHA1, format=RAW])");
        assertThat(hmacSha1(keyData).toString())
            .isEqualTo("Hashing.hmacSha1(Key[algorithm=HmacSHA1, format=RAW])");
    
        assertThat(hmacSha256(SHA256_KEY).toString())
    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

       * @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
    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)
  3. src/main/java/jcifs/pac/PacMac.java

                    (byte) 0x99 };
    
            byte[] output = new byte[12];
            byte[] dk = deriveKeyAES(baseKey, cst); // Checksum key
            try {
                Mac m = Mac.getInstance("HmacSHA1");
                m.init(new SecretKeySpec(dk, HMAC_KEY));
                System.arraycopy(m.doFinal(input), 0, output, 0, 12);
                return output;
            } finally {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top