Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getMD4 (0.05 sec)

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

         * @throws SmbException
         */
        public void getUserSessionKey ( CIFSContext tc, byte[] chlng, byte[] dest, int offset ) throws SmbException {
            try {
                MessageDigest md4 = Crypto.getMD4();
                byte[] ntHash = getNTHash();
                switch ( tc.getConfig().getLanManCompatibility() ) {
                case 0:
                case 1:
                case 2:
                    md4.update(ntHash);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/Type3Message.java

                    System.arraycopy(type2.getChallenge(), 0, sessionNonce, 0, 8);
                    System.arraycopy(clientChallenge, 0, sessionNonce, 8, 8);
    
                    MessageDigest md4 = Crypto.getMD4();
                    md4.update(passwordHash);
                    byte[] userSessionKey = md4.digest();
    
                    MessageDigest hmac = Crypto.getHMACT64(userSessionKey);
                    hmac.update(sessionNonce);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
Back to top