Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 194 for p256 (0.1 sec)

  1. tests/scanner_valuer_test.go

    		return json.Unmarshal([]byte(value), l)
    	case []byte:
    		return json.Unmarshal(value, l)
    	default:
    		return errors.New("not supported")
    	}
    }
    
    type Role struct {
    	Name string `gorm:"size:256"`
    }
    
    func (role *Role) Scan(value interface{}) error {
    	if b, ok := value.([]uint8); ok {
    		role.Name = string(b)
    	} else {
    		role.Name = value.(string)
    	}
    	return nil
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

        private byte[] calculateBindingHash(byte[] bindingInfo) throws IOException {
            try {
                MessageDigest digest = MessageDigest.getInstance("SHA-256");
                return digest.digest(bindingInfo);
            } catch (NoSuchAlgorithmException e) {
                throw new IOException("SHA-256 not available", e);
            }
        }
    
        private void performHealthCheck() {
            for (ChannelInfo channel : channels.values()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

        }
    
        @Test
        @DisplayName("Test decode method")
        void testDecode() throws Exception {
            // Test the decode method which is inherited from ServerMessageBlock
            byte[] buffer = new byte[256];
    
            // Set up a minimal SMB header (size 32 bytes)
            // SMB signature
            buffer[0] = (byte) 0xFF;
            buffer[1] = 'S';
            buffer[2] = 'M';
            buffer[3] = 'B';
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

        val symbol: Int
    
        /** Number of bits represented in the terminal node. */
        val terminalBitCount: Int
    
        /** Construct an internal node. */
        constructor() {
          this.children = arrayOfNulls(256)
          this.symbol = 0 // Not read.
          this.terminalBitCount = 0 // Not read.
        }
    
        /** Construct a terminal node. */
        constructor(symbol: Int, bits: Int) {
          this.children = null
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

                return; // Skip sizes larger than buffer
            }
    
            byte[] sourceData = new byte[dataSize];
            for (int i = 0; i < dataSize; i++) {
                sourceData[i] = (byte) (i % 256);
            }
    
            byte[] buffer = new byte[dataSize + 50];
            System.arraycopy(sourceData, 0, buffer, 10, dataSize);
    
            int result = response.readDataWireFormat(buffer, 10, dataSize);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

            }
        }
    
        /**
         * Counts the number of unique bytes in the data (for entropy estimation).
         */
        private int countUniqueBytes(byte[] data) {
            boolean[] seen = new boolean[256];
            int count = 0;
    
            for (byte b : data) {
                int index = b & 0xFF;
                if (!seen[index]) {
                    seen[index] = true;
                    count++;
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SecureKeyManager.java

            if (context != null) {
                System.arraycopy(context, 0, input, pos, context.length);
            }
    
            // Use SHA-256 for derivation (placeholder)
            try {
                java.security.MessageDigest md = java.security.MessageDigest.getInstance("SHA-256");
                byte[] hash = md.digest(input);
                System.arraycopy(hash, 0, derived, 0, Math.min(length, hash.length));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

                this.preauthSalt = salt;
    
                if (config.isEncryptionEnabled()) {
                    // Build cipher list based on AES-256 support
                    List<Integer> ciphers = new ArrayList<>();
    
                    // Prefer GCM over CCM for better performance
                    if (config.isAES256Enabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

        void testMaxOffsetBoundary() {
            // Arrange
            byte[] largeData = new byte[1000];
            for (int i = 0; i < largeData.length; i++) {
                largeData[i] = (byte) (i % 256);
            }
            int offset = 990;
            int length = 10;
    
            TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, largeData, offset, length);
            byte[] dst = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. docs/kms/IAM.md

    setting the env. variable `MINIO_KMS_SECRET_KEY`. It expects the following
    format:
    
    ```sh
    MINIO_KMS_SECRET_KEY=<key-name>:<base64-value>
    ```
    
    First generate a 256 bit random key via:
    
    ```sh
    $ cat /dev/urandom | head -c 32 | base64 -
    OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw=
    ```
    
    Now, you can set `MINIO_KMS_SECRET_KEY` like this:
    
    ```sh
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top