Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for Algorithms (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

            buffer = new byte[BUFFER_SIZE];
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create instance with Configuration, hash algorithms and salt")
            void testConstructorWithConfigHashAlgosAndSalt() {
                int[] hashAlgos = { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512 };
                byte[] salt = { 0x01, 0x02, 0x03, 0x04 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  2. cmd/sftp-server.go

    				found = true
    				break
    			}
    		}
    		if !found {
    			logger.Fatal(fmt.Errorf("unknown algorithm %q passed to --sftp=%s\nValid algorithms: %v", algo, arg, strings.Join(allowed, ", ")), "unable to start SFTP server")
    		}
    	}
    	if len(filteredAlgos) == 0 {
    		logger.Fatal(fmt.Errorf("no valid algorithms passed to --sftp=%s\nValid algorithms: %v", arg, strings.Join(allowed, ", ")), "unable to start SFTP server")
    	}
    	return filteredAlgos
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

            }
        }
    
        @Override
        public byte[] decompress(byte[] compressedData, int algorithm) throws CIFSException {
            if (compressedData == null) {
                throw new CIFSException("Compressed data cannot be null");
            }
            return decompress(compressedData, 0, compressedData.length, algorithm);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/PreauthIntegrityService.java

        /**
         * Gets the name of a hash algorithm.
         *
         * @param algorithm the algorithm constant
         * @return the algorithm name
         */
        public static String getHashAlgorithmName(int algorithm) {
            switch (algorithm) {
            case HASH_ALGO_SHA512:
                return "SHA-512";
            default:
                return "Unknown(0x" + Integer.toHexString(algorithm) + ")";
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/oauth2-jwt.md

    ## Install `passlib` { #install-passlib }
    
    PassLib is a great Python package to handle password hashes.
    
    It supports many secure hashing algorithms and utilities to work with them.
    
    The recommended algorithm is "Bcrypt".
    
    Make sure you create a [virtual environment](../../virtual-environments.md){.internal-link target=_blank}, activate it, and then install PassLib with Bcrypt:
    
    <div class="termy">
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

            Hashing.hmacSha1(keyData).toString());
    
        assertEquals(
            "Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])",
            Hashing.hmacSha256(SHA256_KEY).toString());
        assertEquals(
            "Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])",
            Hashing.hmacSha256(keyData).toString());
    
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            });
        }
    
        @Test
        @DisplayName("Test unsupported hash algorithm")
        public void testUnsupportedHashAlgorithm() {
            byte[] salt = preauthService.generatePreauthSalt();
    
            assertThrows(CIFSException.class, () -> {
                preauthService.initializeSession("test", salt, 0xFF); // Unsupported algorithm
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

    /**
     * SMB2/SMB3 message signing digest implementation.
     *
     * This class handles cryptographic signing of SMB2/SMB3 messages to ensure
     * message integrity and authenticity. It supports different signing algorithms
     * used in various SMB2/SMB3 dialect versions.
     *
     * @author mbechler
     */
    public class Smb2SigningDigest implements SMBSigningDigest, AutoCloseable {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            assertEquals(des, provider.providePrimaryInvertibleCryptographer());
            assertEquals(oneWayCryptographer, provider.providePrimaryOneWayCryptographer());
        }
    
        // Test with different hash algorithms
        public void test_withSha512Cryptographer() {
            // Test with SHA512
            OneWayCryptographer sha512 = OneWayCryptographer.createSha512Cryptographer();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Hashing.java

      /**
       * Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the
       * MD5 (128 hash bits) hash function and a {@link SecretKeySpec} created from the given byte array
       * and the MD5 algorithm.
       *
       * <p>If you are designing a new system that needs HMAC, prefer {@link #hmacSha256} or other
       * future-proof algorithms <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
Back to top