Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 88 for strhash (0.16 sec)

  1. src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java

        }
    
    
        private NtlmNtHashAuthenticator ( byte[] passwordHash ) {
            super();
            this.ntHash = passwordHash;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.NtlmPasswordAuthenticator#getNTHash()
         */
        @Override
        protected byte[] getNTHash () {
            return this.ntHash;
        }
    
    
        @Override
        public NtlmPasswordAuthenticator clone () {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

          for (int j = 0; j < i; ++j) {
            msg[j] = (byte) j;
          }
          assertSip(msg, EXPECTED[i]);
        }
      }
    
      // This test data comes from "SipHash: a fast short-input PRF", "Appendix A: Test values".
      // It can be downloaded here: https://131002.net/siphash/siphash.pdf
      public void test15ByteStringFromSipHashPaper() {
        byte[] message =
            new byte[] {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

            }
            else {
                System.arraycopy(this.lmHash, 0, dst, dstIndex, this.lmHash.length);
                dstIndex += this.lmHash.length;
                System.arraycopy(this.ntHash, 0, dst, dstIndex, this.ntHash.length);
                dstIndex += this.ntHash.length;
    
                dstIndex += writeString(this.accountName, dst, dstIndex);
                dstIndex += writeString(this.primaryDomain, dst, dstIndex);
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  4. src/crypto/tls/key_agreement.go

    	}
    
    	var signatureAlgorithm SignatureScheme
    	var sigType uint8
    	var sigHash crypto.Hash
    	if ka.version >= VersionTLS12 {
    		signatureAlgorithm, err = selectSignatureScheme(ka.version, cert, clientHello.supportedSignatureAlgorithms)
    		if err != nil {
    			return nil, err
    		}
    		sigType, sigHash, err = typeAndHashFromSignatureScheme(signatureAlgorithm)
    		if err != nil {
    			return nil, err
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. docs/debugging/hash-set/main.go

    	"os"
    	"strings"
    
    	"github.com/dchest/siphash"
    	"github.com/google/uuid"
    )
    
    // hashes the key returning an integer based on the input algorithm.
    // This function currently supports
    // - SIPMOD
    func sipHashMod(key string, cardinality int, id [16]byte) int {
    	if cardinality <= 0 {
    		return -1
    	}
    	// use the faster version as per siphash docs
    	// https://github.com/dchest/siphash#usage
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modcmd/verify.go

    		return errs
    	}
    	h := string(bytes.TrimSpace(data))
    
    	if zipErr != nil && errors.Is(zipErr, fs.ErrNotExist) {
    		// ok
    	} else {
    		hZ, err := dirhash.HashZip(zip, dirhash.DefaultHash)
    		if err != nil {
    			errs = append(errs, fmt.Errorf("%s %s: %v", mod.Path, mod.Version, err))
    			return errs
    		} else if hZ != h {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 16:56:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/SipHashFunction.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /*
     * SipHash-c-d was designed by Jean-Philippe Aumasson and Daniel J. Bernstein and is described in
     * "SipHash: a fast short-input PRF" (available at https://131002.net/siphash/siphash.pdf).
     */
    
    package com.google.common.hash;
    
    import static com.google.common.base.Preconditions.checkArgument;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  8. LICENSES/vendor/github.com/stoewer/go-strcase/LICENSE

    = vendor/github.com/stoewer/go-strcase licensed under: =
    
    The MIT License (MIT)
    
    Copyright (c) 2017, Adrian Stoewer <******@****.***>
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 18:15:40 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/dump/dump.go

    // The output may change over time, so for guaranteed output please take more direct control
    func Pretty(a interface{}) string {
    	return prettyPrintConfig.Sdump(a)
    }
    
    // ForHash keeps the original Spew.Sprintf format to ensure the same checksum
    func ForHash(a interface{}) string {
    	return prettyPrintConfigForHash.Sprintf("%#v", a)
    }
    
    // OneLine outputs the object in one line
    func OneLine(a interface{}) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/FallbackHandlingResourceHasher.java

         */
        abstract Optional<HashCode> tryHash(RegularFileSnapshotContext snapshotContext);
    
        /**
         * Try to hash the resource, and signal for fallback if it can't be hashed.
         *
         * @return An Optional containing the hash, or an empty Optional if fallback should be triggered
         */
        abstract Optional<HashCode> tryHash(ZipEntryContext zipEntryContext);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top