Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 221 for DES (0.27 seconds)

  1. src/main/java/jcifs/smb1/util/DES.java

     */
    
    public class DES {
    
        private final int[] encryptKeys = new int[32];
        private final int[] decryptKeys = new int[32];
    
        private final int[] tempInts = new int[2];
    
        /**
         * Creates a DES cipher instance without a key
         */
        public DES() {
    
        }
    
        // Constructor, byte-array key.
        /**
         * Creates a DES cipher instance with the specified key
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/util/Crypto.java

                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
        /**
         * Get a DES cipher in encryption mode
         *
         * @param key
         *            7 or 8 byte DES key
         * @return DES cipher in encryption mode
         */
        public static Cipher getDES(final byte[] key) {
            if (key.length == 7) {
                return getDES(des7to8(key));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. docs/fr/docs/tutorial/first-steps.md

    En général, vous utilisez :
    
    * `POST` : pour créer des données.
    * `GET` : pour lire des données.
    * `PUT` : pour mettre à jour des données.
    * `DELETE` : pour supprimer des données.
    
    Donc, dans OpenAPI, chacune des méthodes HTTP est appelée une « opération ».
    
    Nous allons donc aussi les appeler « opérations ».
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

        }
    
        @Test
        public void test_withDesCipher() {
            // Test with DES cipher
            InvertibleCryptographer des = InvertibleCryptographer.createDesCipher("12345678");
            FessSecurityResourceProvider provider = new FessSecurityResourceProvider(des, oneWayCryptographer);
    
            assertNotNull(provider);
            assertEquals(des, provider.providePrimaryInvertibleCryptographer());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  5. docs/fr/docs/deployment/manually.md

    ```
    
    </div>
    
    Cela fonctionnerait pour la plupart des cas. 😎
    
    Vous pourriez utiliser cette commande par exemple pour démarrer votre application **FastAPI** dans un conteneur, sur un serveur, etc.
    
    ## Serveurs ASGI { #asgi-servers }
    
    Allons un peu plus en détail.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  6. docs/fr/docs/index.md

        * l'autocomplétion.
        * la vérification des types.
    * La validation des données :
        * des erreurs automatiques et claires lorsque les données ne sont pas valides.
        * une validation même pour les objets JSON profondément imbriqués.
    * <dfn title="également connu sous le nom de : sérialisation, parsing, marshalling">Conversion</dfn> des données d'entrée : venant du réseau vers les données et types Python. Lecture depuis :
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessFwAssistantDirector.java

                        cipherAlgorithm);
                inver = InvertibleCryptographer.createBlowfishCipher(fessConfig.getAppCipherKey());
            } else if ("des".equalsIgnoreCase(cipherAlgorithm)) {
                logger.warn("DES cipher is deprecated due to its 56-bit key size vulnerability. Please consider migrating to AES. algorithm={}",
                        cipherAlgorithm);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/util/CryptoTest.java

        @Test
        @DisplayName("Should perform DES encryption/decryption")
        void testDES() throws Exception {
            // Given
            byte[] key = "testkey1".getBytes(); // 8 bytes for DES
            byte[] plaintext = "12345678".getBytes(); // 8 bytes (DES block size)
    
            // When
            Cipher desCipher = Crypto.getDES(key);
            desCipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "DES"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

        }
    
        /**
         * Test decrypt with DES encryption.
         *
         * @throws GeneralSecurityException if a security error occurs
         * @throws NoSuchAlgorithmException if the algorithm is not available
         */
        @Test
        void testDecryptDes() throws GeneralSecurityException, NoSuchAlgorithmException {
            KeyGenerator keyGen = KeyGenerator.getInstance("DES");
            keyGen.init(56);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            final byte[] key7 = new byte[7];
            final byte[] e8 = new byte[8];
    
            for (int i = 0; i < key.length / 7; i++) {
                System.arraycopy(key, i * 7, key7, 0, 7);
                final DES des = new DES(key7);
                des.encrypt(data, e8);
                System.arraycopy(e8, 0, e, i * 8, 8);
            }
        }
    
        static String DEFAULT_DOMAIN;
        static String DEFAULT_USERNAME;
        static String DEFAULT_PASSWORD;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
Back to Top