Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Algorithm (0.17 sec)

  1. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

            assertArgumentNotEmpty("algorithm", algorithm);
    
            if (text == null) {
                return null;
            }
    
            final MessageDigest msgDigest = getInstance(algorithm);
            try {
                msgDigest.update(text.getBytes("UTF-8"));
            } catch (final UnsupportedEncodingException e) {
                throw new ClIllegalStateException(e);
            }
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            byte[] dataHmac = getHmac(dataChecksum, codeHmac);
            SecretKeySpec dataKey = new SecretKeySpec(dataHmac, KerberosConstants.RC4_ALGORITHM);
    
            cipher = Cipher.getInstance(KerberosConstants.RC4_ALGORITHM);
            cipher.init(Cipher.DECRYPT_MODE, dataKey);
    
            int plainDataLength = data.length - KerberosConstants.CHECKSUM_SIZE;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dtyp/ACE.java

     * based on these entries.
     * <p>
     * To fully understand the information exposed by this class a description
     * of the access check algorithm used by Windows is required. The following
     * is a basic description of the algorithm. For a more complete description
     * we recommend reading the section on Access Control in Keith Brown's
     * "The .NET Developer's Guide to Windows Security" (which is also
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacMac.java

                    }
                    return calculateMacHMACAES(usage, key, data);
                }
                else {
                    throw new PACDecodingException("Invalid MAC algorithm");
                }
            }
            catch ( GeneralSecurityException e ) {
                throw new PACDecodingException("Failed to calculate MAC", e);
            }
        }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/crypto/CachedCipher.java

        protected void offerDecryptoCipher(final Cipher cipher) {
            decryptoQueue.offer(cipher);
        }
    
        public String getAlgorithm() {
            return algorithm;
        }
    
        public void setAlgorithm(final String algorithm) {
            this.algorithm = algorithm;
        }
    
        public String getTransformation() {
            return transformation;
        }
    
        public void setTransformation(final String transformation) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosConstants.java

        static final int AUTH_DATA_RELEVANT = 1;
        static final int AUTH_DATA_PAC = 128;
    
        static final int DES_ENC_TYPE = 3;
        static final int RC4_ENC_TYPE = 23;
        static final String RC4_ALGORITHM = "ARCFOUR";
        static final String HMAC_ALGORITHM = "HmacMD5";
        static final int CONFOUNDER_SIZE = 8;
        static final int CHECKSUM_SIZE = 16;
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jul 21 21:19:58 GMT 2018
    - 1.5K bytes
    - Viewed (0)
  7. 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
     */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/ACE.java

     * based on these entries.
     * <p>
     * To fully understand the information exposed by this class a description
     * of the access check algorithm used by Windows is required. The following
     * is a basic description of the algorithm. For a more complete description
     * we recommend reading the section on Access Control in Keith Brown's
     * "The .NET Developer's Guide to Windows Security" (which is also
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/HMACT64.java

    /* HMACT64 keyed hashing algorithm
     * Copyright (C) 2003 "Eric Glass" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/HMACT64.java

    /* HMACT64 keyed hashing algorithm
     * Copyright (C) 2003 "Eric Glass" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
Back to top