- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for algorism (1.34 sec)
-
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; } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 15.9K 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
/** * Store a session key * * @param sessionId unique session identifier * @param key the secret key to store * @param algorithm the key algorithm (e.g., "AES") */ public void storeSessionKey(String sessionId, byte[] key, String algorithm) { checkNotClosed(); if (key == null || sessionId == null) { throw new IllegalArgumentException("Session ID and key must not be null");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (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 };Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
private int getTransformFlags() { if (this.dialect.atLeast(DialectVersion.SMB311)) { return TRANSFORM_FLAG_ENCRYPTED; } // For SMB 3.0/3.0.2, this field contains the encryption algorithm return this.cipherId; } private byte[] getEncryptionKey() { if (keyManager != null) { String encKeyId = sessionId + "-enc";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
}); } /** * Generates a hashed ID from the provided URL ID string. * Encodes special characters using URL encoding or Base64 encoding as needed, * then applies a message digest algorithm to create a unique hash. * * @param urlId the URL ID string to generate a hash for * @return a hashed ID string generated from the input URL ID */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 15.2K bytes - Viewed (0) -
src/test/java/jcifs/ACETest.java
verify(ace).getApplyToText(); } } @Nested @DisplayName("Windows Access Check Algorithm Tests") class WindowsAccessCheckTests { @Test @DisplayName("Should simulate access check algorithm from documentation") void shouldSimulateDocumentationExample() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
* the SMB2 dialect version * @param preauthIntegrityHash * the pre-authentication integrity hash (for SMB 3.1.1) * @throws GeneralSecurityException * if the signing algorithm cannot be initialized * */ public Smb2SigningDigest(final byte[] sessionKey, final int dialect, final byte[] preauthIntegrityHash) throws GeneralSecurityException { switch (dialect) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0)