Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for keyLength (0.05 sec)

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

            // Determine key size based on cipher ID for AES-256 support
            int keyLength = getKeyLength();
            String transformation;
    
            // Select appropriate AES algorithm based on key length
            if (keyLength == 32) {
                // AES-256 support
                transformation = "AES/GCM/NoPadding";
            } else if (keyLength == 16) {
                // AES-128 (existing)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      fun toggleMask(
        cursor: Buffer.UnsafeCursor,
        key: ByteArray,
      ) {
        var keyIndex = 0
        val keyLength = key.size
        do {
          val buffer = cursor.data
          var i = cursor.start
          val end = cursor.end
          if (buffer != null) {
            while (i < end) {
              keyIndex %= keyLength // Reassign to prevent overflow breaking counter.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                final byte[] sessionKey = getSessionKey();
                final int keyLength = sessionKey != null ? sessionKey.length : 0;
                final byte[] type3 = new byte[64 + domainLength + userLength + workstationLength + lmLength + ntLength + keyLength];
                System.arraycopy(NTLMSSP_SIGNATURE, 0, type3, 0, 8);
                writeULong(type3, 8, 3);
                int offset = 64;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  4. lib/fips140/v1.0.0.zip

    Key[Hash fips140.Hash](h func() Hash, password string, salt []byte, iter, keyLength int) ([]byte, error) { setServiceIndicator(salt, keyLength) if keyLength <= 0 { return nil, errors.New("pkbdf2: keyLength must be larger than 0") } prf := hmac.New(h, []byte(password)) hmac.MarkAsUsedInKDF(prf) hashLen := prf.Size() numBlocks := divRoundUp(keyLength, hashLen) const maxBlocks = int64(1<<32 - 1) if keyLength+hashLen < keyLength || int64(numBlocks) > maxBlocks { return nil, errors.New("pbkdf2: keyLength...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top