Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getAlgorithm (0.22 sec)

  1. 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;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 25 20:32:46 GMT 2022
    - 5K bytes
    - Viewed (0)
  2. 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;
        }
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  3. android/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). */
    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)
  4. 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
    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-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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java

                return factory.getFileExtension();
            }
    
            @Override
            public ChecksumCalculator getCalculator() {
                return new DefaultChecksumCalculator(factory.getAlgorithm());
            }
    
            @Override
            public boolean equals(Object o) {
                if (this == o) {
                    return true;
                }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 7K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java

                return factory.getFileExtension();
            }
    
            @Override
            public ChecksumCalculator getCalculator() {
                return new DefaultChecksumCalculator(factory.getAlgorithm());
            }
    
            @Override
            public boolean equals(Object o) {
                if (this == o) {
                    return true;
                }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  8. 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
    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)
Back to top