Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for CHECKSUM (0.06 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/bucket-handlers.go

    		return
    	}
    	checksum, err := hash.GetContentChecksum(formValues)
    	if err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    		apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, fmt.Errorf("Invalid checksum: %w", err))
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    	if checksum != nil && checksum.Type.Trailing() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    		if opts.EncryptFn != nil {
    			fi.Checksum = opts.EncryptFn("object-checksum", fi.Checksum)
    		}
    	}
    	// Remove superfluous internal headers.
    	delete(fi.Metadata, hash.MinIOMultipartChecksum)
    	delete(fi.Metadata, hash.MinIOMultipartChecksumType)
    
    	// Save the final object size and modtime.
    	fi.Size = objectSize
    	fi.ModTime = opts.MTime
    	if opts.MTime.IsZero() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
Back to top