- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for algorithms (0.04 sec)
-
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
/** * Validates if the compression algorithm is known. * * @param algorithm the algorithm to validate * @return true if the algorithm is known */ private boolean isValidCompressionAlgorithm(int algorithm) { return algorithm == COMPRESSION_NONE || algorithm == COMPRESSION_LZ77 || algorithm == COMPRESSION_LZ77_HUFFMANRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0) -
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) -
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
} @Test @DisplayName("Test supported algorithms") public void testSupportedAlgorithms() { int[] algorithms = context.getCompressionAlgorithms(); assertNotNull(algorithms); assertEquals(3, algorithms.length); assertTrue(context.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_LZ77));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
* * @param algorithm the compression algorithm to check * @return true if the algorithm is supported */ boolean isAlgorithmSupported(int algorithm); /** * Gets the list of supported compression algorithms. * * @return array of supported algorithm constants */ int[] getSupportedAlgorithms(); /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.2K bytes - Viewed (0) -
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); } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
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) -
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) -
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 }); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
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) -
cmd/erasure-coding.go
tillOffset := min(endShard*shardSize+shardSize, shardFileSize) return tillOffset } // erasureSelfTest performs a self-test to ensure that erasure // algorithms compute expected erasure codes. If any algorithm // produces an incorrect value it fails with a hard error. // // erasureSelfTest tries to catch any issue in the erasure implementation // early instead of silently corrupting data.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.5K bytes - Viewed (0)