Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getHMACT64 (0.23 sec)

  1. src/main/java/jcifs/smb/NtlmUtil.java

                throws GeneralSecurityException {
            byte[] response = new byte[24];
            MessageDigest hmac = Crypto.getHMACT64(passwordHash);
            hmac.update(Strings.getUNIBytes(user.toUpperCase()));
            hmac.update(Strings.getUNIBytes(domain.toUpperCase()));
            hmac = Crypto.getHMACT64(hmac.digest());
            hmac.update(challenge);
            hmac.update(clientChallenge);
            hmac.digest(response, 0, 16);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 9.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                        }
                    }
    
                    MessageDigest hmac = Crypto.getHMACT64(ntHash);
                    hmac.update(Strings.getUNIBytes(this.username.toUpperCase()));
                    hmac.update(Strings.getUNIBytes(this.domain.toUpperCase()));
                    byte[] ntlmv2Hash = hmac.digest();
                    hmac = Crypto.getHMACT64(ntlmv2Hash);
                    hmac.update(chlng);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/Crypto.java

                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
    
        /**
         * 
         * @param key
         * @return HMACT64 MAC
         */
        public static MessageDigest getHMACT64 ( byte[] key ) {
            return new HMACT64(key);
        }
    
    
        /**
         * 
         * @param key
         * @return RC4 cipher
         */
        public static Cipher getArcfour ( byte[] key ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Aug 17 17:34:29 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmContext.java

            }
    
            int seqNum = this.signSequence.getAndIncrement();
            byte[] seqBytes = new byte[4];
            SMBUtil.writeInt4(seqNum, seqBytes, 0);
    
            MessageDigest mac = Crypto.getHMACT64(sk);
            mac.update(seqBytes); // sequence
            mac.update(data); // data
            byte[] dgst = mac.digest();
            byte[] trunc = new byte[8];
            System.arraycopy(dgst, 0, trunc, 0, 8);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 15.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type3Message.java

                    MessageDigest md4 = Crypto.getMD4();
                    md4.update(passwordHash);
                    byte[] userSessionKey = md4.digest();
    
                    MessageDigest hmac = Crypto.getHMACT64(userSessionKey);
                    hmac.update(sessionNonce);
                    byte[] ntlm2SessionKey = hmac.digest();
    
                    if ( getFlag(NTLMSSP_NEGOTIATE_KEY_EXCH) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 30.6K bytes
    - Viewed (0)
Back to top