Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,863 for hash4 (0.04 sec)

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

       * size of the input (in bytes). This is only important for non-streaming hash functions (hash
       * functions that need to buffer their whole input before processing any of it).
       */
      Hasher newHasher(int expectedInputSize);
    
      /**
       * Shortcut for {@code newHasher().putInt(input).hash()}; returns the hash code for the given
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/hkdf/hkdf.go

    func Expand(hash func() hash.Hash, pseudorandomKey, info []byte) io.Reader {
    	expander := hmac.New(hash, pseudorandomKey)
    	return &hkdf{expander, expander.Size(), info, 1, nil, nil}
    }
    
    // New returns a Reader, from which keys can be read, using the given hash,
    // secret, salt and context info. Salt and info can be nil.
    func New(hash func() hash.Hash, secret, salt, info []byte) io.Reader {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. src/crypto/crypto.go

    package crypto
    
    import (
    	"hash"
    	"io"
    	"strconv"
    )
    
    // Hash identifies a cryptographic hash function that is implemented in another
    // package.
    type Hash uint
    
    // HashFunc simply returns the value of h so that [Hash] implements [SignerOpts].
    func (h Hash) HashFunc() Hash {
    	return h
    }
    
    func (h Hash) String() string {
    	switch h {
    	case MD4:
    		return "MD4"
    	case MD5:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/crypto/sha3/hashes.go

    // and SHAKE hash functions, as well as utility functions for hashing
    // bytes.
    
    import (
    	"hash"
    )
    
    // New224 creates a new SHA3-224 hash.
    // Its generic security strength is 224 bits against preimage attacks,
    // and 112 bits against collision attacks.
    func New224() hash.Hash {
    	return new224()
    }
    
    // New256 creates a new SHA3-256 hash.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/CacheUtils.java

                hash = hash * 31 + Objects.hashCode(dependency.getGroupId());
                hash = hash * 31 + Objects.hashCode(dependency.getArtifactId());
                hash = hash * 31 + Objects.hashCode(dependency.getVersion());
                hash = hash * 31 + Objects.hashCode(dependency.getType());
                hash = hash * 31 + Objects.hashCode(dependency.getClassifier());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    		sigTParams: nil,
    	}
    }
    
    // Hash computes a hash value for the given type t such that
    // Identical(t, t') => Hash(t) == Hash(t').
    func (h Hasher) Hash(t types.Type) uint32 {
    	hash, ok := h.memo[t]
    	if !ok {
    		hash = h.hashFor(t)
    		h.memo[t] = hash
    	}
    	return hash
    }
    
    // hashString computes the Fowler–Noll–Vo hash of s.
    func hashString(s string) uint32 {
    	var h uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. src/crypto/hmac/hmac.go

    }
    
    // New returns a new HMAC hash using the given [hash.Hash] type and key.
    // New functions like sha256.New from [crypto/sha256] can be used as h.
    // h must return a new Hash every time it is called.
    // Note that unlike other hash implementations in the standard library,
    // the returned Hash does not implement [encoding.BinaryMarshaler]
    // or [encoding.BinaryUnmarshaler].
    func New(h func() hash.Hash, key []byte) hash.Hash {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/HashedClasspath.java

    import org.gradle.internal.classpath.ClassPath;
    import org.gradle.internal.hash.HashCode;
    
    import java.io.Serializable;
    
    /**
     * Immutable classpath with it's precomputed hash.
     */
    public class HashedClasspath implements Serializable {
        private final ClassPath classpath;
        private final HashCode hash;
    
        public HashedClasspath(ClassPath classpath, HashCode hash) {
            this.classpath = classpath;
            this.hash = hash;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tlog.go

    	"errors"
    	"fmt"
    	"math/bits"
    )
    
    // A Hash is a hash identifying a log record or tree root.
    type Hash [HashSize]byte
    
    // HashSize is the size of a Hash in bytes.
    const HashSize = 32
    
    // String returns a base64 representation of the hash for printing.
    func (h Hash) String() string {
    	return base64.StdEncoding.EncodeToString(h[:])
    }
    
    // MarshalJSON marshals the hash as a JSON string containing the base64-encoded hash.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/HashCode.java

          return new byte[] {
            (byte) hash,
            (byte) (hash >> 8),
            (byte) (hash >> 16),
            (byte) (hash >> 24),
            (byte) (hash >> 32),
            (byte) (hash >> 40),
            (byte) (hash >> 48),
            (byte) (hash >> 56)
          };
        }
    
        @Override
        public int asInt() {
          return (int) hash;
        }
    
        @Override
        public long asLong() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 12.6K bytes
    - Viewed (0)
Back to top