Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for doFinal (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                    throw new RuntimeException("Failed to create Mac instance", e);
                }
    
                mac.update(data, offset, length);
                final byte[] sig = mac.doFinal();
                System.arraycopy(sig, 0, data, offset + SIGNATURE_OFFSET, SIGNATURE_LENGTH);
            } finally {
                this.signingLock.unlock();
            }
        }
    
        /**
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            // Process message (will be encrypted)
            final byte[] output = new byte[cipher.getOutputSize(message.length)];
            int len = cipher.processBytes(message, 0, message.length, output, 0);
            len += cipher.doFinal(output, len);
    
            // Split ciphertext and authentication tag
            final int tagLength = getAuthTagLength();
            final byte[] ciphertext = new byte[message.length];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/SecureCredentialStorage.java

                GCMParameterSpec gcmSpec = new GCMParameterSpec(GCM_TAG_SIZE, iv);
                cipher.init(Cipher.ENCRYPT_MODE, masterKey, gcmSpec);
    
                // Encrypt
                byte[] ciphertext = cipher.doFinal(plaintextBytes);
    
                // Combine IV and ciphertext
                byte[] result = new byte[GCM_IV_SIZE + ciphertext.length];
                System.arraycopy(iv, 0, result, 0, GCM_IV_SIZE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmContext.java

                log.debug("Truncated " + Hexdump.toHexString(trunc));
            }
    
            if ((this.ntlmsspFlags & NtlmFlags.NTLMSSP_NEGOTIATE_KEY_EXCH) != 0) {
                try {
                    trunc = this.sealClientHandle.doFinal(trunc);
                    if (log.isDebugEnabled()) {
                        log.debug("Encrypted " + Hexdump.toHexString(trunc));
                    }
                } catch (final GeneralSecurityException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                for (int i = 0; i < SIGNATURE_LENGTH; i++) {
                    data[SIGNATURE_OFFSET + i] = 0;
                }
    
                mac.update(data, 0, data.length);
                byte[] signature = mac.doFinal();
    
                // Place signature in data
                System.arraycopy(signature, 0, data, SIGNATURE_OFFSET, SIGNATURE_LENGTH);
    
                boolean result = digest.verify(data, 0, data.length, 0, msg);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  6. RELEASE.md

            *   `tf.math.argmin`/`tf.math.argmax` for input data type `tf.bool` on
                CPU.
            *   `tf.nn.gelu` op for output data type `tf.float32` and quantization
                on CPU.
        *   Add nominal support for unsigned 16-bit integer tensor types. Note that
            very few TFLite kernels support this type natively, so its use in mobile
            ML authoring is generally discouraged.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (2)
Back to top