Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Encrypt (0.04 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

            InvertibleCryptographer cookieCipher = new InvertibleCryptographer("AES", "1234567890123456", null) {
                @Override
                public String encrypt(String plainText) {
                    return "encrypted:" + plainText;
                }
    
                @Override
                public String decrypt(String cryptedText) {
                    return cryptedText.startsWith("encrypted:") ? cryptedText.substring("encrypted:".length()) : cryptedText;
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/DES.java

        }
    
        /// Encrypt a block of bytes.
        /**
         * Encrypts an 8-byte block using DES
         * @param clearText the 8-byte plaintext block
         * @param cipherText the output 8-byte ciphertext block
         */
        public void encrypt(final byte[] clearText, final byte[] cipherText) {
            encrypt(clearText, 0, cipherText, 0);
        }
    
        /// Decrypt a block of bytes.
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/https.md

    * Nginx
    * HAProxy
    
    ## Let's Encrypt { #lets-encrypt }
    
    Before Let's Encrypt, these **HTTPS certificates** were sold by trusted third parties.
    
    The process to acquire one of these certificates used to be cumbersome, require quite some paperwork and the certificates were quite expensive.
    
    But then **<a href="https://letsencrypt.org/" class="external-link" target="_blank">Let's Encrypt</a>** was created.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            this.secureRandom.nextBytes(nonce);
            return nonce;
        }
    
        /**
         * Encrypt an SMB2 message with constant-time operations
         *
         * @param message
         *            plaintext message to encrypt
         * @param sessionId
         *            session identifier
         * @return encrypted message with transform header
         * @throws CIFSException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            byte[] salt = storage.getSalt();
    
            // Encrypt with first storage
            byte[] encrypted = storage.encryptCredentials(plaintext);
    
            // Create new storage with same salt
            SecureCredentialStorage storage2 = new SecureCredentialStorage(masterPassword.clone(), salt);
    
            try {
                // Should be able to decrypt with same salt and password
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            assertNotNull(cryptographer);
    
            String plainText = "Hello, World!";
            String encrypted = cryptographer.encrypt(plainText);
            assertNotNull(encrypted);
            assertFalse(plainText.equals(encrypted));
    
            String decrypted = cryptographer.decrypt(encrypted);
            assertEquals(plainText, decrypted);
        }
    
        public void test_invertibleCryptography_withEmptyString() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. cmd/postpolicyform.go

    	"File":             true,
    	"Policy":           true,
    
    	// MinIO specific exceptions to the general S3 rule above.
    	encrypt.SseKmsKeyID:          true,
    	encrypt.SseEncryptionContext: true,
    	encrypt.SseCustomerAlgorithm: true,
    	encrypt.SseCustomerKey:       true,
    	encrypt.SseCustomerKeyMD5:    true,
    }
    
    // checkPostPolicy - apply policy conditions and validate input values.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. cmd/encryption-v1_test.go

    		metadata:       nil,
    		encryptionType: encrypt.S3,
    		err:            nil,
    	}, // 3
    	{
    		headers:    http.Header{},
    		copySource: false,
    		metadata: map[string]string{
    			crypto.MetaSealedKeyS3:       base64.StdEncoding.EncodeToString(make([]byte, 64)),
    			crypto.MetaKeyID:             "kms-key",
    			crypto.MetaDataEncryptionKey: "m-key",
    		},
    		encryptionType: encrypt.S3,
    		err:            nil,
    	}, // 4
    	{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            context.setKeyRotationBytesLimit(100); // Rotate after 100 bytes
    
            // Encrypt first message - should work
            byte[] plaintext1 = "Message before rotation".getBytes();
            byte[] encrypted1 = assertDoesNotThrow(() -> context.encryptMessage(plaintext1, 1L));
            assertNotNull(encrypted1);
    
            // Encrypt larger message to trigger rotation
            byte[] largeMessage = new byte[150]; // Exceed 100 byte limit
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/SecureCredentialStorage.java

                if (plaintextBytes != null) {
                    SecureKeyManager.secureWipe(plaintextBytes);
                }
            }
        }
    
        /**
         * Encrypt credentials to a base64 string for storage
         *
         * @param plaintext the credentials to encrypt
         * @return base64 encoded encrypted credentials
         * @throws GeneralSecurityException if encryption fails
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top