Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getAlgorithm (0.07 sec)

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

          } catch (CloneNotSupportedException e) {
            // falls through
          }
        }
        return new MessageDigestHasher(getMessageDigest(prototype.getAlgorithm()), bytes);
      }
    
      private static final class SerializedForm implements Serializable {
        private final String algorithmName;
        private final int bytes;
        private final String toString;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

          } catch (CloneNotSupportedException e) {
            // falls through
          }
        }
        return new MessageDigestHasher(getMessageDigest(prototype.getAlgorithm()), bytes);
      }
    
      private static final class SerializedForm implements Serializable {
        private final String algorithmName;
        private final int bytes;
        private final String toString;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

                .hash());
      }
    
      public void testCustomKey() throws Exception {
        SecretKey customKey =
            new SecretKey() {
              @Override
              public String getAlgorithm() {
                return "HmacMD5";
              }
    
              @Override
              public byte[] getEncoded() {
                return new byte[8];
              }
    
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/MacHashFunction.java

          try {
            return new MacHasher((Mac) prototype.clone());
          } catch (CloneNotSupportedException e) {
            // falls through
          }
        }
        return new MacHasher(getMac(prototype.getAlgorithm(), key));
      }
    
      @Override
      public String toString() {
        return toString;
      }
    
      /** Hasher that updates a {@link Mac} (message authentication code). */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 15 22:31:55 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/crypto/CachedCipher.java

            return cipher;
        }
    
        protected void offerDecryptoCipher(final Cipher cipher) {
            decryptoQueue.offer(cipher);
        }
    
        public String getAlgorithm() {
            return algorithm;
        }
    
        public void setAlgorithm(final String algorithm) {
            this.algorithm = algorithm;
        }
    
        public String getTransformation() {
            return transformation;
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Hashing.java

      }
    
      private static String hmacToString(String methodName, Key key) {
        return "Hashing."
            + methodName
            + "(Key[algorithm="
            + key.getAlgorithm()
            + ", format="
            + key.getFormat()
            + "])";
      }
    
      /**
       * Returns a hash function implementing the CRC32C checksum algorithm (32 hash bits) as described
    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