Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 118 for MD5 (0.03 sec)

  1. cmd/server_test.go

    		int64(buffer1.Len()), buffer1, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    	// set Content-Md5 to invalid value.
    	request.Header.Set("Content-Md5", "kvLTlMrX9NpYDQlEIFlnDA==")
    	// expecting a failure during upload.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// Since Content-Md5 header was wrong, expecting to fail with "SignatureDoesNotMatch" error.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/ByteSourceTest.java

        ByteSource byteSource = new TestByteSource("hamburger\n".getBytes(US_ASCII));
    
        // Pasted this expected string from `echo hamburger | md5sum`
        assertEquals("cfa0c5002275c90508338a5cdb2a9781", byteSource.hash(Hashing.md5()).toString());
      }
    
      public void testContentEquals() throws IOException {
        assertTrue(source.contentEquals(source));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  4. go.mod

    	github.com/minio/colorjson v1.0.8 // indirect
    	github.com/minio/filepath v1.0.0 // indirect
    	github.com/minio/mc v0.0.0-20240909075310-04c5116c9bdf // 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  6. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        ByteSource byteSource = new TestByteSource("hamburger\n".getBytes(US_ASCII));
    
        // Pasted this expected string from `echo hamburger | md5sum`
        assertEquals("cfa0c5002275c90508338a5cdb2a9781", byteSource.hash(Hashing.md5()).toString());
      }
    
      public void testContentEquals() throws IOException {
        assertTrue(source.contentEquals(source));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/HashFunction.java

      /**
       * Begins a new hash code computation by returning an initialized, stateful {@code Hasher}
       * instance that is ready to receive data. Example:
       *
       * <pre>{@code
       * HashFunction hf = Hashing.md5();
       * HashCode hc = hf.newHasher()
       *     .putLong(id)
       *     .putBoolean(isActive)
       *     .hash();
       * }</pre>
       */
      Hasher newHasher();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/HashFunction.java

      /**
       * Begins a new hash code computation by returning an initialized, stateful {@code Hasher}
       * instance that is ready to receive data. Example:
       *
       * <pre>{@code
       * HashFunction hf = Hashing.md5();
       * HashCode hc = hf.newHasher()
       *     .putLong(id)
       *     .putBoolean(isActive)
       *     .hash();
       * }</pre>
       */
      Hasher newHasher();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
Back to top