Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for Mac (0.03 sec)

  1. src/main/java/jcifs/util/Crypto.java

                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
        /**
         * Get an HMACT64 message authentication code instance.
         * @param key the key for the HMACT64 MAC
         * @return HMACT64 MAC instance
         */
        public static MessageDigest getHMACT64(final byte[] key) {
            return new HMACT64(key);
        }
    
        /**
         * Get an RC4 cipher instance initialized with the specified key.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. docs/smb3-features/03-multi-channel-design.md

            Mac mac = Mac.getInstance("HmacSHA256");
            SecretKeySpec keySpec = new SecretKeySpec(sessionKey, "HmacSHA256");
            mac.init(keySpec);
            
            // Include channel-specific data
            mac.update(channel.getLocalInterface().getAddress().getAddress());
            mac.update(channel.getRemoteInterface().getAddress().getAddress());
            mac.update(ByteBuffer.allocate(8)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  3. cmd/encryption-v1.go

    	var partIDbin [4]byte
    	binary.LittleEndian.PutUint32(partIDbin[:], uint32(partID)) // marshal part ID
    
    	mac := hmac.New(sha256.New, d.objectEncryptionKey) // derive part encryption key from part ID and object key
    	mac.Write(partIDbin[:])
    	partEncryptionKey := mac.Sum(nil)
    
    	// Limit the reader, so the decryptor doesn't receive bytes
    	// from the next part (different DARE stream)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

        }
    
        public void test_getUserAgentType_Safari() {
            getMockRequest().addHeader("user-agent",
                    "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/600.8.9 (KHTML, like Gecko) Version/8.0.8 Safari/600.8.9");
            assertEquals(UserAgentType.SAFARI, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_Opera() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NbtAddress.java

     * JMORRIS2        <03>  UNIQUE      Registered
     * JMORRIS2        <20>  UNIQUE      Registered
     * BILLING-NY      <1E>  GROUP       Registered
     * JMORRIS         <03>  UNIQUE      Registered
     *
     * MAC Address = 00-B0-34-21-FA-3B
     * </pre>
     *
     * </blockquote>
     *
     *  * The hostname of this machine is <code>JMORRIS2</code>. It is
     * a member of the group(a.k.a workgroup and domain) <code>BILLING-NY</code>. To
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. tests/tests_all.sh

    if [[ $(pwd) == *"gorm/tests"* ]]; then
      cd ..
    fi
    
    if [ -d tests ]
    then
      cd tests
      go get -u -t ./...
      go mod download
      go mod tidy
      cd ..
    fi
    
    # SqlServer for Mac M1
    if [[ -z $GITHUB_ACTION && -d tests ]]; then
      cd tests
      if [[ $(uname -a) == *" arm64" ]]; then
        MSSQL_IMAGE=mcr.microsoft.com/azure-sql-edge docker compose up -d --wait
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            hmac.update(serverChallenge);
            hmac.update(clientData, offset, length);
            final byte[] mac = hmac.digest();
            final byte[] ret = new byte[mac.length + clientData.length];
            System.arraycopy(mac, 0, ret, 0, mac.length);
            System.arraycopy(clientData, 0, ret, mac.length, clientData.length);
            return ret;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        }
    
        @Test
        @DisplayName("Test constructor with MAC signing key and bypass flag")
        void testConstructorWithBypass() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey, true);
            assertNotNull(digest);
            assertTrue(digest.toString().contains("MacSigningKey="));
        }
    
        @Test
        @DisplayName("Test constructor with MAC signing key, bypass flag and initial sequence")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmUtilTest.java

            // Assert: overloads consistent
            assertArrayEquals(viaHash, viaPassword, "Both overloads must compute same NTLMv2 key");
    
            // Changing domain should change the key (domain is part of MAC input)
            byte[] differentDomain = NtlmUtil.nTOWFv2("DOMAIN", user, password);
            assertFalse(Arrays.equals(viaPassword, differentDomain), "Different domain should produce a different key");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/Type3Message.java

            final byte[] sk = this.masterKey;
            if (sk == null) {
                return;
            }
            final MessageDigest mac = Crypto.getHMACT64(sk);
            mac.update(type1);
            mac.update(type2);
            final byte[] type3 = toByteArray();
            mac.update(type3);
            setMic(mac.digest());
        }
    
        /**
         * Creates a Type-3 message with the specified parameters.
         *
         * @param flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
Back to top