Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for md5 (0.02 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

        }
    
        public void test_withMd5Cryptographer() {
            // Test with MD5
            OneWayCryptographer md5 = new OneWayCryptographer("MD5", OneWayCryptographer.ENCODING_UTF8);
            FessSecurityResourceProvider provider = new FessSecurityResourceProvider(invertibleCryptographer, md5);
    
            assertNotNull(provider);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmContext.java

            }
        }
    
        private static byte[] deriveKey(final byte[] masterKey, final String cnst) {
            final MessageDigest md5 = Crypto.getMD5();
            md5.update(masterKey);
            md5.update(cnst.getBytes(StandardCharsets.US_ASCII));
            md5.update((byte) 0);
            return md5.digest();
        }
    
        @Override
        public boolean supportsIntegrity() {
            return true;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. cmd/utils_test.go

    	req.Header.Set("content-md5", "====test")
    	jsonReq := dumpRequest(req)
    	type jsonResult struct {
    		Method     string      `json:"method"`
    		RequestURI string      `json:"reqURI"`
    		Header     http.Header `json:"header"`
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmUtil.java

                throws GeneralSecurityException {
            final byte[] sessionHash = new byte[8];
    
            final MessageDigest md5 = Crypto.getMD5();
    
            md5.update(serverChallenge);
            md5.update(clientChallenge, 0, 8);
            System.arraycopy(md5.digest(), 0, sessionHash, 0, 8);
    
            final byte[] key = new byte[21];
            System.arraycopy(passwordHash, 0, key, 0, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. cmd/object_api_suite_test.go

    		if err != nil {
    			t.Errorf("%s: <ERROR> %s", instanceType, err)
    		}
    		if calcPartInfo.ETag != expectedETaghex {
    			t.Errorf("MD5 Mismatch")
    		}
    		completedParts.Parts = append(completedParts.Parts, CompletePart{
    			PartNumber: i,
    			ETag:       calcPartInfo.ETag,
    		})
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  6. cmd/object-api-utils_test.go

    		expectedErr    string
    	}{
    		// Wrong MD5 hash string, returns md5um of hash
    		{[]CompletePart{{ETag: "wrong-md5-hash-string"}}, "0deb8cb07527b4b2669c861cb9653607-1", ""},
    
    		// Single CompletePart with valid MD5 hash string.
    		{[]CompletePart{{ETag: "cf1f738a5924e645913c984e0fe3d708"}}, "10dc1617fbcf0bd0858048cb96e6bd77-1", ""},
    
    		// Multiple CompletePart with valid MD5 hash string.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  7. cmd/signature-v2.go

    }
    
    // Authorization = "AWS" + " " + AWSAccessKeyId + ":" + Signature;
    // Signature = Base64( HMAC-SHA1( YourSecretKey, UTF-8-Encoding-Of( StringToSign ) ) );
    //
    // StringToSign = HTTP-Verb + "\n" +
    //  	Content-Md5 + "\n" +
    //  	Content-Type + "\n" +
    //  	Date + "\n" +
    //  	CanonicalizedProtocolHeaders +
    //  	CanonicalizedResource;
    //
    // CanonicalizedResource = [ SlashSeparator + Bucket ] +
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. cmd/object-multipart-handlers.go

    	// The ETag of a multi-part object is always:
    	//   ETag := MD5(ETag_p1, ETag_p2, ...)+"-N"   (N being the number of parts)
    	//
    	// This is independent of encryption. An encrypted multipart
    	// object also has an ETag that is the MD5 of its part ETags.
    	// The fact the in case of encryption the ETag of a part is
    	// not the MD5 of the part content does not change that.
    	var completeETags []etag.ETag
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  9. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
  10. 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)
Back to top