Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getDigestLength (0.12 sec)

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

          for (int bytes = 4; bytes <= digest.getDigestLength(); bytes++) {
            assertEquals(
                HashCode.fromBytes(Arrays.copyOf(digest.digest(input), bytes)),
                new MessageDigestHashFunction(algorithmName, bytes, algorithmName).hashBytes(input));
          }
          try {
            int maxSize = digest.getDigestLength();
            new MessageDigestHashFunction(algorithmName, maxSize + 1, algorithmName);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

        this.bytes = prototype.getDigestLength();
        this.toString = checkNotNull(toString);
        this.supportsClone = supportsClone(prototype);
      }
    
      MessageDigestHashFunction(String algorithmName, int bytes, String toString) {
        this.toString = checkNotNull(toString);
        this.prototype = getMessageDigest(algorithmName);
        int maxLength = prototype.getDigestLength();
        checkArgument(
    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/src/com/google/common/hash/MessageDigestHashFunction.java

        this.bytes = prototype.getDigestLength();
        this.toString = checkNotNull(toString);
        this.supportsClone = supportsClone(prototype);
      }
    
      MessageDigestHashFunction(String algorithmName, int bytes, String toString) {
        this.toString = checkNotNull(toString);
        this.prototype = getMessageDigest(algorithmName);
        int maxLength = prototype.getDigestLength();
        checkArgument(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

          for (int bytes = 4; bytes <= digest.getDigestLength(); bytes++) {
            assertEquals(
                HashCode.fromBytes(Arrays.copyOf(digest.digest(input), bytes)),
                new MessageDigestHashFunction(algorithmName, bytes, algorithmName).hashBytes(input));
          }
          try {
            int maxSize = digest.getDigestLength();
            new MessageDigestHashFunction(algorithmName, maxSize + 1, algorithmName);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/HMACT64.java

                return md5.digest(buf, offset, len);
            } catch (Exception ex) {
                throw new IllegalStateException();
            }
        }
    
        protected int engineGetDigestLength() {
            return md5.getDigestLength();
        }
    
        protected void engineReset() {
            md5.reset();
            md5.update(ipad);
        }
    
        protected void engineUpdate(byte b) {
            md5.update(b);
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/HMACT64.java

            }
            catch ( Exception ex ) {
                throw new IllegalStateException();
            }
        }
    
    
        @Override
        protected int engineGetDigestLength () {
            return this.md5.getDigestLength();
        }
    
    
        @Override
        protected void engineReset () {
            this.md5.reset();
            this.md5.update(this.ipad);
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
Back to top