- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 122 for alrgorithm (0.17 seconds)
-
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); } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
} } @Nested @DisplayName("Encoding Tests") class EncodingTests { @Test @DisplayName("Should encode single hash algorithm with salt") void testEncodeSingleHashAlgoWithSalt() { int[] hashAlgos = { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512 }; byte[] salt = { 0x01, 0x02, 0x03, 0x04 };Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 34K bytes - Click Count (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) + ")"; } } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 12.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
assertThat(hmacSha256(SHA256_KEY).toString()) .isEqualTo("Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])"); assertThat(hmacSha256(keyData).toString()) .isEqualTo("Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])"); assertThat(hmacSha512(SHA512_KEY).toString()) .isEqualTo("Hashing.hmacSha512(Key[algorithm=HmacSHA512, format=RAW])");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 14.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
} /** * Returns the algorithm. * * @return the algorithm */ public String getAlgorithm() { return algorithm; } /** * Sets the algorithm. * * @param algorithm * the algorithm */ public void setAlgorithm(final String algorithm) { this.algorithm = algorithm; } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 15.9K bytes - Click Count (0) -
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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 29.8K bytes - Click Count (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 }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.5K bytes - Click Count (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
/// tip pwdlib also supports the bcrypt hashing algorithm but does not include legacy algorithms - for working with outdated hashes, it is recommended to use the passlib library. For example, you could use it to read and verify passwords generated by another system (like Django) but hash any new passwords with a different algorithm like Argon2 or Bcrypt. And be compatible with all of them at the same time.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 10.7K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
else -> null } } /** * ``` * AlgorithmIdentifier ::= SEQUENCE { * algorithm OBJECT IDENTIFIER, * parameters ANY DEFINED BY algorithm OPTIONAL * } * ``` */ internal val algorithmIdentifier: BasicDerAdapter<AlgorithmIdentifier> = Adapters.sequence( "AlgorithmIdentifier",Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 13.6K bytes - Click Count (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 }); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0)