Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getF64 (0.04 sec)

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

        private static Provider provider = null;
    
    
        /**
         * 
         */
        private Crypto () {}
    
    
        /**
         * 
         * @return MD4 digest
         */
        public static MessageDigest getMD4 () {
            try {
                return MessageDigest.getInstance("MD4", getProvider());
            }
            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/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)
  3. src/main/java/jcifs/smb/NtlmUtil.java

         */
        public static byte[] getNTHash ( String password ) {
            if ( password == null ) {
                throw new NullPointerException("Password parameter is required");
            }
            MessageDigest md4 = Crypto.getMD4();
            md4.update(Strings.getUNIBytes(password));
            return md4.digest();
        }
    
    
        /**
         * 
         * @param password
         * @return the calculated hash
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 9.7K bytes
    - Viewed (0)
  4. 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