Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 114 for encrypto (1.28 sec)

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

        /**
         * Gets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2
         *
         * @return the flags (SMB 3.1.1) or encryption algorithm (SMB 3.0/3.0.2)
         */
        public int getFlags() {
            return this.flags;
        }
    
        /**
         * Sets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2
         *
         * @param flags
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

        }
    
        /**
         * Test decrypt with RC4 encryption.
         *
         * @throws GeneralSecurityException if a security error occurs
         */
        @Test
        void testDecryptRc4() throws GeneralSecurityException {
            // This is a simplified test and does not use real encrypted data from Kerberos
            // It mainly tests the decryption logic path
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmContext.java

                    trunc = this.sealClientHandle.doFinal(trunc);
                    if (log.isDebugEnabled()) {
                        log.debug("Encrypted " + Hexdump.toHexString(trunc));
                    }
                } catch (final GeneralSecurityException e) {
                    throw new CIFSException("Failed to encrypt MIC", e);
                }
            }
    
            final byte[] sig = new byte[16];
            SMBUtil.writeInt4(1, sig, 0); // version
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            // Encrypt
            byte[] encrypted = storage.encryptCredentials(plaintext);
            assertNotNull(encrypted, "Encrypted data should not be null");
            assertTrue(encrypted.length > 0, "Encrypted data should have content");
    
            // Verify plaintext is not in encrypted data
            String encryptedStr = new String(encrypted);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/ParameterUtil.java

                        }
                    }
                }
            }
            return paramMap;
        }
    
        /**
         * Encrypts sensitive parameter values.
         *
         * @param value the parameter string
         * @return the encrypted parameter string
         */
        public static String encrypt(final String value) {
            final StringBuilder buf = new StringBuilder();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

        }
    
        /**
         * Encrypt a message using the session's encryption context
         *
         * @param message the message to encrypt
         * @return encrypted message with transform header
         * @throws CIFSException if encryption fails or is not enabled
         */
        public byte[] encryptMessage(byte[] message) throws CIFSException {
            if (this.encryptionContext == null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

        }
    
        @ParameterizedTest
        @DisplayName("Message constructor should handle crypto-specific error messages")
        @NullAndEmptySource
        @ValueSource(strings = { "AES encryption not supported", "Missing Bouncy Castle provider", "Invalid key length for AES-128",
                "RC4 cipher not available in this JVM", "DES encryption is deprecated and not supported", "HMAC-SHA256 algorithm not found",
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

            deleteUserCodeFromCookie(request);
            return userCode;
        }
    
        /**
         * Creates an encrypted user code from a user ID.
         * The user ID is encrypted using the primary cipher and validated against the configuration.
         *
         * @param userCode the raw user ID to encrypt
         * @return the encrypted and validated user code, or null if invalid
         */
        protected String createUserCodeFromUserId(String userCode) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacMac.java

    import java.security.GeneralSecurityException;
    import java.security.Key;
    import java.security.MessageDigest;
    import java.util.Arrays;
    import java.util.Map;
    
    import javax.crypto.Cipher;
    import javax.crypto.Mac;
    import javax.crypto.spec.IvParameterSpec;
    import javax.crypto.spec.SecretKeySpec;
    import javax.security.auth.kerberos.KerberosKey;
    
    /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. README.md

    - Configurable: Min/max versions can be set via configuration properties
    
    ### SMB3 Encryption Support
    - **SMB2 Transform Header**: Encrypted message wrapping
    - **AES-CCM/GCM Support**: Both AES-128-CCM (SMB 3.0/3.0.2) and AES-128-GCM (SMB 3.1.1) cipher suites
    - **Encryption Context**: Per-session encryption state management
    - **Key Derivation**: SMB3 KDF implementation with dialect-specific parameters
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top