Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for CHECKSUM (0.11 sec)

  1. src/test/java/jcifs/pac/PacSignatureTest.java

            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            writeLittleEndianInt(baos, PacSignature.KERB_CHECKSUM_HMAC_MD5);
            byte[] checksum = new byte[16];
            for (int i = 0; i < checksum.length; i++) {
                checksum[i] = (byte) i;
            }
            baos.write(checksum);
            byte[] data = baos.toByteArray();
    
            // Create PacSignature
            PacSignature pacSignature = new PacSignature(data);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacSignature.java

            } catch (final IOException e) {
                throw new PACDecodingException("Malformed PAC signature", e);
            }
        }
    
        /**
         * Gets the checksum type of this signature.
         *
         * @return the checksum type constant
         */
        public int getType() {
            return this.type;
        }
    
        /**
         * Gets the checksum data.
         *
         * @return the checksum bytes
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            wagon.clearExpectedContent();
            wagon.addExpectedContent("path", "lower-case-checksum");
            wagon.addExpectedContent("path.sha1", "2a25dc564a3b34f68237fc849066cbc7bb7a36a1");
            wagonManager.getArtifact(artifact, repo, null, false);
    
            wagon.clearExpectedContent();
            wagon.addExpectedContent("path", "upper-case-checksum");
            wagon.addExpectedContent("path.sha1", "B7BB97D7D0B9244398D9B47296907F73313663E6");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Hashing.java

      /**
       * Returns a hash function implementing the CRC-32 checksum algorithm (32 hash bits).
       *
       * <p>To get the {@code long} value equivalent to {@link Checksum#getValue()} for a {@code
       * HashCode} produced by this function, use {@link HashCode#padToLong()}.
       *
       * <p>This function is best understood as a <a
       * href="https://en.wikipedia.org/wiki/Checksum">checksum</a> rather than a true <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Hashing.java

      /**
       * Returns a hash function implementing the CRC-32 checksum algorithm (32 hash bits).
       *
       * <p>To get the {@code long} value equivalent to {@link Checksum#getValue()} for a {@code
       * HashCode} produced by this function, use {@link HashCode#padToLong()}.
       *
       * <p>This function is best understood as a <a
       * href="https://en.wikipedia.org/wiki/Checksum">checksum</a> rather than a true <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                            // file...we'll try again with the MD5 checksum.
                            try {
                                verifyChecksum(md5ChecksumObserver, destination, temp, remotePath, ".md5", wagon);
                            } catch (ChecksumFailedException e) {
                                // if we also fail to verify based on the MD5 checksum, and the checksum transfer/read
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  7. cmd/postpolicyform_test.go

    		},
    		{
    			name:    "unknown key XAmzChecksumCRC32 is error as it does not appear in policy",
    			fv:      defaultFormVals.Clone().Set(http.CanonicalHeaderKey(xhttp.AmzChecksumCRC32), "crc32-val"),
    			wantErr: `Each form field that you specify in a form must appear in the list of policy conditions. "X-Amz-Checksum-Crc32" not specified in the policy.`,
    		},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. cmd/xl-storage-format_test.go

    	return xlMeta
    }
    
    func (m *xlMetaV1Object) AddTestObjectCheckSum(partNumber int, algorithm BitrotAlgorithm, hash string) {
    	checksum, err := hex.DecodeString(hash)
    	if err != nil {
    		panic(err)
    	}
    	m.Erasure.Checksums[partNumber-1] = ChecksumInfo{partNumber, algorithm, checksum}
    }
    
    // AddTestObjectPart - add a new object part in order.
    func (m *xlMetaV1Object) AddTestObjectPart(partNumber int, partSize int64) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. cmd/object-api-datatypes.go

    		VersionPurgeStatus:         ri.VersionPurgeStatus,
    		VersionPurgeStatusInternal: ri.VersionPurgeStatusInternal,
    		DeleteMarker:               true,
    		UserDefined:                map[string]string{},
    		Checksum:                   ri.Checksum,
    	}
    }
    
    // ReplicateObjectInfo represents object info to be replicated
    type ReplicateObjectInfo struct {
    	Name                       string
    	Bucket                     string
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/Pac.java

                log.trace(String.format("Checksum data %s type %d signature %s", Hexdump.toHexString(checksumData),
                        this.serverSignature.getType(), Hexdump.toHexString(this.serverSignature.getChecksum())));
            }
    
            byte checksum[] = PacMac.calculateMac(this.serverSignature.getType(), keys, checksumData);
            if (!MessageDigest.isEqual(this.serverSignature.getChecksum(), checksum)) {
                if (log.isDebugEnabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top