Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for 32 (0.01 sec)

  1. cmd/encryption-v1_test.go

    	},
    	{
    		ObjectKey:  [32]byte{},
    		ObjectInfo: ObjectInfo{ETag: "916516b396f0f4d4f2a0e7177557bec4-738"},
    		ETag:       "916516b396f0f4d4f2a0e7177557bec4-738",
    	},
    	{
    		ObjectKey:  [32]byte{},
    		ObjectInfo: ObjectInfo{ETag: "916516b396f0f4d4f2a0e7177557bec4-Q"},
    		ETag:       "",
    		ShouldFail: true, // Q is not a number
    	},
    	{
    		ObjectKey:  [32]byte{},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/SecureKeyManagerTest.java

        public void testGenerateRandomKey() {
            byte[] key1 = keyManager.generateRandomKey(32);
            byte[] key2 = keyManager.generateRandomKey(32);
    
            assertNotNull(key1, "Should generate key 1");
            assertNotNull(key2, "Should generate key 2");
            assertEquals(32, key1.length, "Key 1 should have correct length");
            assertEquals(32, key2.length, "Key 2 should have correct length");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-multiple-params.md

    {
        "item": {
            "name": "Foo",
            "description": "The pretender",
            "price": 42.0,
            "tax": 3.2
        }
    }
    ```
    
    instead of:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    ## Recap { #recap }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            byte[] salt2 = preauthService.generatePreauthSalt();
    
            assertNotNull(salt1);
            assertNotNull(salt2);
            assertEquals(32, salt1.length); // 32 bytes as per SMB 3.1.1 spec
            assertEquals(32, salt2.length);
            assertFalse(java.util.Arrays.equals(salt1, salt2)); // Should be different
        }
    
        @Test
        @DisplayName("Test session initialization")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/DES.java

     * JCIFS API
     * Norbert Hranitzky
     *
     * <p>and modified again by Michael B. Allen
     */
    
    public class DES {
    
        private final int[] encryptKeys = new int[32];
        private final int[] decryptKeys = new int[32];
    
        private final int[] tempInts = new int[2];
    
        /**
         * Creates a DES cipher instance without a key
         */
        public DES() {
    
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

            long data4 = bb2.getLong();
    
            // Construct UUID from components - Java UUID expects big-endian representation
            long mostSig = ((long) data1 << 32) | ((long) (data2 & 0xFFFF) << 16) | (data3 & 0xFFFF);
            long leastSig = data4;
    
            this.guid = new UUID(mostSig, leastSig);
        }
    
        /**
         * Create a handle GUID from existing UUID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

         */
        public static final String CONTEXT_NAME = "DH2Q";
    
        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
        private static final int STRUCTURE_SIZE = 32; // Corrected to 32 bytes as per MS-SMB2
    
        // MS-SMB2: Timeout is specified in 100-nanosecond intervals, but we store in milliseconds
        private long timeoutMs; // timeout in milliseconds (for application use)
        private int flags;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

            // DataOffset field (2 bytes) - should be 24 (16 header + 4 name + 4 padding)
            assertEquals(24, SMBUtil.readInt2(buffer, 10));
    
            // DataLength field (4 bytes) - should be 32 (lease V1 structure size)
            assertEquals(32, SMBUtil.readInt4(buffer, 12));
    
            // Verify context name is encoded at offset 16
            byte[] nameBytes = new byte[4];
            System.arraycopy(buffer, 16, nameBytes, 0, 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java

        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
            if (len < 32) {
                throw new SMBProtocolDecodingException("Lease V1 context data too short: " + len);
            }
    
            // Read lease V1 data (32 bytes)
            byte[] keyBytes = new byte[16];
            System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

            dstIndex += 2;
    
            SMBUtil.writeInt4(32, dst, dstIndex); // DataLength
            dstIndex += 4;
    
            // Write context name
            System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4);
            dstIndex += 4;
    
            // Padding to align data to 8-byte boundary
            dstIndex += 4;
    
            // Write lease V1 data (32 bytes total)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top