- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 113 for chksum (0.04 sec)
-
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
for (int i = 0; i < KerberosConstants.CHECKSUM_SIZE; i++) { if (plainDataChecksum[i] != data[i]) { throw new GeneralSecurityException("Checksum failed while decrypting."); } } } int decryptLength = plainData.length - KerberosConstants.CONFOUNDER_SIZE; decrypt = new byte[decryptLength];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
// Test with mocked PacMac to avoid complex signature calculation try (MockedStatic<PacMac> pacMacMock = mockStatic(PacMac.class)) { // Mock the calculateMac method to return a valid checksum byte[] mockChecksum = new byte[16]; pacMacMock.when(() -> PacMac.calculateMac(anyInt(), any(), any())).thenReturn(mockChecksum); // Create a minimal valid PAC structure
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
docs/site-replication/run-ssec-object-replication-with-compression.sh
if [ "${src_obj1_md5}" != "${rep_obj1_md5}" ]; then echo "BUG: MD5 checksum of object 'minio2/test-bucket/encrypted' doesn't match with source. Expected: '${src_obj1_md5}', Found: '${rep_obj1_md5}'" exit_1 fi if [ "${src_obj2_md5}" != "${rep_obj2_md5}" ]; then echo "BUG: MD5 checksum of object 'minio2/test-bucket/defpartsize' doesn't match with source. Expected: '${src_obj2_md5}', Found: '${rep_obj2_md5}'"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Sep 24 08:03:58 UTC 2024 - 8.3K bytes - Viewed (0) -
cmd/xl-storage-format-v1.go
// Distribution is the distribution of the data and parity blocks Distribution []int `json:"distribution"` // Checksums holds all bitrot checksums of all erasure encoded blocks Checksums []ChecksumInfo `json:"checksum,omitempty"` } // Equal equates current erasure info with newer erasure info. // returns false if one of the following check fails // - erasure algorithm is different // - data blocks are different
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/storage-datatypes_gen.go
err = dc.ReadNil() if err != nil { err = msgp.WrapError(err) return } z.Checksum = nil } else { z.Checksum, err = dc.ReadBytes(z.Checksum) if err != nil { err = msgp.WrapError(err, "Checksum") return } if z.Checksum == nil { z.Checksum = make([]byte, 0) } } z.Versioned, err = dc.ReadBool() if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 152K bytes - Viewed (0) -
docs/debugging/hash-set/main.go
func hashOrder(key string, cardinality int) []int { if cardinality <= 0 { // Returns an empty int slice for cardinality < 0. return nil } nums := make([]int, cardinality) keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable) start := int(keyCrc % uint32(cardinality)) for i := 1; i <= cardinality; i++ { nums[i-1] = 1 + ((start + i) % cardinality) } return nums } var (
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.7K bytes - Viewed (0) -
helm-releases/minio-2.0.1.tgz
name: {{ template "minio.fullname" . }} labels: app: {{ template "minio.name" . }} release: {{ .Release.Name }} {{- if .Values.podLabels }} {{ toYaml .Values.podLabels | indent 8 }} {{- end }} annotations: checksum/secrets: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }} checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} {{- if .Values.podAnnotations }} {{ toYaml .Values.podAnnotations | trimSuffix "\n" | indent 8 }} {{- end }} spec: {{-...
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 31 09:09:09 UTC 2021 - 13.6K bytes - Viewed (0) -
cmd/storage-datatypes.go
// no other caller must set this value other than multi-object delete call. // usage in other calls in undefined please avoid. Idx int `msg:"i"` // Combined checksum when object was uploaded. Checksum []byte `msg:"cs,allownil"` // Versioned - indicates if this file is versioned or not. Versioned bool `msg:"vs"` } func (fi FileInfo) shardSize() int64 {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 17.4K bytes - Viewed (0) -
cmd/signature-v4-utils_test.go
} if policies[0] != "consoleAdmin" { t.Fatalf("expected 'consoleAdmin', %s", policies[0]) } } // TestSkipContentSha256Cksum - Test validate the logic which decides whether // to skip checksum validation based on the request header. func TestSkipContentSha256Cksum(t *testing.T) { testCases := []struct { inputHeaderKey string inputHeaderValue string inputQueryKey string
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
Key key = new KerberosKey(null, new byte[16], KerberosConstants.RC4_ENC_TYPE, 0); byte[] data = new byte[32]; // Dummy data // The test will likely fail with "Checksum failed" as the data is not properly encrypted // but it proves the decryption path is taken. assertThrows(GeneralSecurityException.class, () -> KerberosEncData.decrypt(data, key, KerberosConstants.RC4_ENC_TYPE));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0)