Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 107 for hmac (0.07 sec)

  1. internal/bucket/object/lock/lock_test.go

    		expected        map[string]string
    	}{
    		{
    			metadata: map[string]string{
    				"Authorization":        "AWS4-HMAC-SHA256 <cred_string>",
    				"X-Amz-Content-Sha256": "",
    				"Content-Encoding":     "",
    			},
    			expected: map[string]string{
    				"Authorization":        "AWS4-HMAC-SHA256 <cred_string>",
    				"X-Amz-Content-Sha256": "",
    				"Content-Encoding":     "",
    			},
    		},
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                        md4.update(responseKeyNT);
                        byte[] userSessionKey = md4.digest();
    
                        HMACT64 hmac = new HMACT64(userSessionKey);
                        hmac.update(sessionNonce);
                        byte[] ntlm2SessionKey = hmac.digest();
    
                        if ((getFlags() & NTLMSSP_NEGOTIATE_KEY_EXCH) != 0) {
                            masterKey = new byte[16];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  3. docs/logging/README.md

      "requestPath": "/testbucket/hosts",
      "requestHost": "localhost:9000",
      "requestHeader": {
        "Accept-Encoding": "zstd,gzip",
        "Authorization": "AWS4-HMAC-SHA256 Credential=minioadmin/20240509/us-east-1/s3/aws4_request,SignedHeaders=host;x-amz-content-sha256;x-amz-date;x-amz-decoded-content-length,Signature=d4d6862e6cc61011a61fa801da71048ece4f32a0562cad6bb88bdda50d7fcb95",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 17:15:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type3Message.java

            byte[] sk = this.masterKey;
            if ( sk == null ) {
                return;
            }
            MessageDigest mac = Crypto.getHMACT64(sk);
            mac.update(type1);
            mac.update(type2);
            byte[] type3 = toByteArray();
            mac.update(type3);
            setMic(mac.digest());
        }
    
    
        /**
         * Creates a Type-3 message with the specified parameters.
         *
         * @param flags
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

    import org.bouncycastle.crypto.DerivationParameters;
    import org.bouncycastle.crypto.digests.SHA256Digest;
    import org.bouncycastle.crypto.generators.KDFCounterBytesGenerator;
    import org.bouncycastle.crypto.macs.HMac;
    import org.bouncycastle.crypto.params.KDFCounterParameters;
    
    
    /**
     * SMB3 SP800-108 Counter Mode Key Derivation
     * 
     * @author mbechler
     *
     */
    final class Smb3KeyDerivation {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.7K bytes
    - Viewed (0)
  6. docs/iam/access-management-plugin.md

    ```json
    {
      "input": {
        "account": "minio",
        "groups": null,
        "action": "s3:ListBucket",
        "bucket": "test",
        "conditions": {
          "Authorization": [
            "AWS4-HMAC-SHA256 Credential=minio/20220507/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=62012db6c47d697620cf6c68f0f45f6e34894589a53ab1faf6dc94338468c78a"
          ],
          "CurrentTime": [
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 13 22:28:48 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  7. cmd/signature-v4-utils.go

    	}
    
    	if _, ok := claims[policy.SessionPolicyName]; ok {
    		owner = false
    	}
    
    	return cred, owner, ErrNone
    }
    
    // sumHMAC calculate hmac between two input byte array.
    func sumHMAC(key []byte, data []byte) []byte {
    	hash := hmac.New(sha256.New, key)
    	hash.Write(data)
    	return hash.Sum(nil)
    }
    
    // extractSignedHeaders extract signed headers from Authorization header
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. cmd/signature-v2.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 (
    	"crypto/hmac"
    	"crypto/sha1"
    	"crypto/subtle"
    	"encoding/base64"
    	"fmt"
    	"net/http"
    	"net/url"
    	"sort"
    	"strconv"
    	"strings"
    
    	xhttp "github.com/minio/minio/internal/http"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacMac.java

            int ms_usage = mapArcfourMD5KeyUsage(keyusage);
            Mac mac = Mac.getInstance("HmacMD5");
            MessageDigest md = MessageDigest.getInstance("MD5");
            mac.init(key);
            byte[] dk = mac.doFinal(MD5_CONSTANT);
            try {
                // little endian
                md.update((byte) ( ms_usage & 0xFF ));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  10. internal/crypto/sse.go

    	"github.com/minio/sio"
    )
    
    const (
    	// SealAlgorithm is the encryption/sealing algorithm used to derive & seal
    	// the key-encryption-key and to en/decrypt the object data.
    	SealAlgorithm = "DAREv2-HMAC-SHA256"
    
    	// InsecureSealAlgorithm is the legacy encryption/sealing algorithm used
    	// to derive & seal the key-encryption-key and to en/decrypt the object data.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 4.4K bytes
    - Viewed (0)
Back to top