Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for mac (0.17 sec)

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

          Providers.setProviderList(providers);
        }
      }
    
      public void testMultipleUpdates() throws Exception {
        Mac mac = Mac.getInstance("HmacSHA1");
        mac.init(SHA1_KEY);
        mac.update("hello".getBytes(UTF_8));
        mac.update("world".getBytes(UTF_8));
    
        assertEquals(
            HashCode.fromBytes(mac.doFinal()),
            Hashing.hmacSha1(SHA1_KEY)
                .newHasher()
                .putString("hello", UTF_8)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/MacHashFunction.java

      }
    
      private static boolean supportsClone(Mac mac) {
        try {
          Object unused = mac.clone();
          return true;
        } catch (CloneNotSupportedException e) {
          return false;
        }
      }
    
      private static Mac getMac(String algorithmName, Key key) {
        try {
          Mac mac = Mac.getInstance(algorithmName);
          mac.init(key);
          return mac;
        } catch (NoSuchAlgorithmException e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 15 22:31:55 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

       * @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));
      }
    
      /**
       * Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

          Providers.setProviderList(providers);
        }
      }
    
      public void testMultipleUpdates() throws Exception {
        Mac mac = Mac.getInstance("HmacSHA1");
        mac.init(SHA1_KEY);
        mac.update("hello".getBytes(UTF_8));
        mac.update("world".getBytes(UTF_8));
    
        assertEquals(
            HashCode.fromBytes(mac.doFinal()),
            Hashing.hmacSha1(SHA1_KEY)
                .newHasher()
                .putString("hello", UTF_8)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

    ht?n&cab?gnauq?yat??tah?vart??tlaeh??i&a!bney?coal?gngnauq?laig?ngnod??onah?rtgnauq??kalkad?m&an&ah?gnauq??oc?utnok??n&a&ehgn?gnol?kcab?uhthni&b?n???e&ibneid?y&gnuh?u&gniaht?hp????osgnal??o&fni?ht&nac?uhp??i?rp??pahtgnod?t&en?ni?opsgolb,?u&a&hcial?mac?tgnuv-airab??de?eilcab??vog?zib???wo&rc?t!epac????o&76i4orfy--nx?a!.&bp?de?go?oc?ti?vg??boat??b!.&a&ci&sum?tilop??i&c&arcomed?neic??golo&ce?ncet??m&edaca?onoce??rt&ap?sudni??vilob??n&egidni?icidem??serpme?tsiver?vitarepooc??b&ew?og??dulas?e&rbmon?t...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 21 21:04:43 GMT 2024
    - 72.4K bytes
    - Viewed (1)
Back to top