Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for algorism (1.74 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

        public static MessageDigest getInstance(final String algorithm) {
            assertArgumentNotEmpty("algorithm", algorithm);
    
            try {
                return MessageDigest.getInstance(algorithm);
            } catch (final NoSuchAlgorithmException e) {
                throw new NoSuchAlgorithmRuntimeException(e);
            }
        }
    
        /**
         * Hashes the specified text using the given algorithm and converts it to a string.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosConstants.java

        int AUTH_DATA_PAC = 128;
    
        /** DES encryption type identifier */
        int DES_ENC_TYPE = 3;
        /** RC4 encryption type identifier */
        int RC4_ENC_TYPE = 23;
        /** RC4 algorithm name */
        String RC4_ALGORITHM = "ARCFOUR";
        /** HMAC algorithm name */
        String HMAC_ALGORITHM = "HmacMD5";
        /** Size of confounder in bytes */
        int CONFOUNDER_SIZE = 8;
        /** Size of checksum in bytes */
        int CHECKSUM_SIZE = 16;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/RC4.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.util;
    
    /**
     * Implementation of the RC4 (ARCFOUR) stream cipher algorithm.
     * This class provides RC4 encryption/decryption functionality used in SMB1 protocol operations.
     */
    public class RC4 {
    
        byte[] s;
        int i, j;
    
        /**
         * Default constructor for RC4 cipher.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. 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_HUFFMAN
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

        /**
         * Gets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2
         *
         * @return the flags (SMB 3.1.1) or encryption algorithm (SMB 3.0/3.0.2)
         */
        public int getFlags() {
            return this.flags;
        }
    
        /**
         * Sets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2
         *
         * @param flags
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

     */
    @DisplayName("CIFSUnsupportedCryptoException Tests")
    class CIFSUnsupportedCryptoExceptionTest extends BaseTest {
    
        private static final String CRYPTO_ERROR_MESSAGE = "Unsupported cryptographic algorithm: AES-256-GCM";
        private static final String ALGORITHM_NAME = "AES-256-GCM";
    
        @Test
        @DisplayName("Default constructor should create exception with null message and cause")
        void testDefaultConstructor() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/MD4.java

     */
    
    package jcifs.smb1.util;
    
    import java.security.MessageDigest;
    
    /**
     * Implements the MD4 message digest algorithm in Java.
     * <p>
     * <b>References:</b>
     * <ol>
     *   <li> Ronald L. Rivest,
     *        "<a href="http://www.roxen.com/rfc/rfc1320.html">
     *        The MD4 Message-Digest Algorithm</a>",
     *        IETF RFC-1320 (informational).
     * </ol>
     *
     * <p><b>$Revision: 1.2 $</b>
     * @author  Raif S. Naffah
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacMac.java

        private static final byte[] ZERO_IV = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
    
        /**
         * Calculates a MAC using the ARCFOUR-HMAC-MD5 algorithm.
         * This method implements the Microsoft variant of the Kerberos ARCFOUR-HMAC-MD5 checksum.
         *
         * @param keyusage the Kerberos key usage number for this operation
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

        }
    
        @Test
        @DisplayName("Test unsupported algorithm compression")
        public void testUnsupportedAlgorithmCompression() {
            assertThrows(CIFSException.class, () -> {
                compressionService.compress(testData, CompressionService.COMPRESSION_LZNT1);
            });
        }
    
        @Test
        @DisplayName("Test unsupported algorithm decompression")
        public void testUnsupportedAlgorithmDecompression() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top