Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getMD5 (0.08 sec)

  1. src/main/java/jcifs/util/Crypto.java

            catch ( NoSuchAlgorithmException e ) {
                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
    
        /**
         * 
         * @return MD5 digest
         */
        public static MessageDigest getMD5 () {
            try {
                return MessageDigest.getInstance("MD5");
            }
            catch ( NoSuchAlgorithmException e ) {
                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/HMACT64.java

            }
            for ( int i = length; i < BLOCK_LENGTH; i++ ) {
                this.ipad[ i ] = IPAD;
                this.opad[ i ] = OPAD;
            }
    
            this.md5 = Crypto.getMD5();
            engineReset();
        }
    
    
        private HMACT64 ( HMACT64 hmac ) throws CloneNotSupportedException {
            super("HMACT64");
            this.ipad = hmac.ipad;
            this.opad = hmac.opad;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmUtil.java

        public static byte[] getNTLM2Response ( byte[] passwordHash, byte[] serverChallenge, byte[] clientChallenge ) throws GeneralSecurityException {
            byte[] sessionHash = new byte[8];
    
            MessageDigest md5 = Crypto.getMD5();;
            md5.update(serverChallenge);
            md5.update(clientChallenge, 0, 8);
            System.arraycopy(md5.digest(), 0, sessionHash, 0, 8);
    
            byte[] key = new byte[21];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 9.7K bytes
    - Viewed (0)
Back to top