Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 96 for MD5 (0.11 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt

    import org.junit.jupiter.api.Test
    
    class CertificatePinnerTest {
      @Test
      fun malformedPin() {
        val builder = CertificatePinner.Builder()
        assertFailsWith<IllegalArgumentException> {
          builder.add("example.com", "md5/DmxUShsZuNiqPQsX2Oi9uv2sCnw=")
        }
      }
    
      @Test
      fun malformedBase64() {
        val builder = CertificatePinner.Builder()
        assertFailsWith<IllegalArgumentException> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. cmd/object-api-listobjects_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"crypto/md5"
    	"encoding/hex"
    	"fmt"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/bucket/lifecycle"
    )
    
    func TestListObjectsVersionedFolders(t *testing.T) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  3. docs/debugging/xl-meta/main.go

    				fmt.Println(missingAll, "bytes missing.")
    			} else {
    				if wantMD5 != "" {
    					sum := md5.Sum(combined)
    					gotMD5 := hex.EncodeToString(sum[:])
    					if gotMD5 != wantMD5 {
    						fmt.Println("MD5 mismatch. Expected", wantMD5, "got", gotMD5)
    						out += ".mismatch"
    					} else {
    						fmt.Println("MD5 verified.")
    						out = fmt.Sprintf("verified/%s", baseName)
    					}
    				} else {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    		Description:    "Requests specifying Server Side Encryption with Customer provided keys must provide the client calculated MD5 of the secret key.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSSECustomerKeyMD5Mismatch: {
    		Code:           "InvalidArgument",
    		Description:    "The calculated MD5 hash of the key did not match the hash that was provided.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (1)
  5. docs/ftp/README.md

    arcfour256
    arcfour128
    arcfour
    aes128-cbc
    3des-cbc
    ```
    
    `--sftp=mac-algos=...` specifies a default set of MAC algorithms in preference order.
    This is based on RFC 4253, section 6.4, but with hmac-md5 variants removed because they have 
    reached the end of their useful life.
    
    Valid values: 
    
    ```
    ******@****.***
    ******@****.***
    hmac-sha2-256
    hmac-sha2-512
    hmac-sha1
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 07 06:41:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. go.mod

    	github.com/minio/colorjson v1.0.8 // indirect
    	github.com/minio/crc64nvme v1.0.1 // indirect
    	github.com/minio/filepath v1.0.0 // indirect
    	github.com/minio/mc v0.0.0-20250313080218-cf909e1063a9 // indirect
    	github.com/minio/md5-simd v1.1.2 // indirect
    	github.com/minio/websocket v1.6.0 // indirect
    	github.com/mitchellh/mapstructure v1.5.0 // indirect
    	github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:33:19 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    					// Used in test case  6.
    				case BadSignature:
    					req.Header.Set("authorization", req.Header.Get("authorization")+"a")
    					// Setting an invalid Content-MD5 to force a Md5 Mismatch error.
    					// Used in tesr case 7.
    				case BadMD5:
    					req.Header.Set("Content-MD5", "badmd5")
    				}
    
    				// invoke the PutObjectPart HTTP handler.
    				apiRouter.ServeHTTP(rec, req)
    
    				// validate the error response.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  8. cmd/erasure-object_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"crypto/md5"
    	crand "crypto/rand"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strconv"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/config/storageclass"
    )
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.3K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"crypto/md5"
    	"encoding/base64"
    	"encoding/hex"
    	"encoding/json"
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"io"
    	"mime"
    	"mime/multipart"
    	"net/http"
    	"net/textproto"
    	"net/url"
    	"path"
    	"runtime"
    	"sort"
    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/object-api-multipart_test.go

    		}
    		// Test passes as expected, but the output values are verified for correctness here.
    		if actualErr == nil && testCase.shouldPass {
    			// Asserting whether the md5 output is correct.
    			if testCase.inputMd5 != actualInfo.ETag {
    				t.Errorf("Test %d: %s: Calculated Md5 different from the actual one %s.", i+1, instanceType, actualInfo.ETag)
    			}
    		}
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
Back to top