Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for MD4 (0.02 sec)

  1. src/main/java/jcifs/smb1/util/MD4.java

    
    // Constructors
    //...........................................................................
    
        public MD4 () {
            super("MD4");
            engineReset();
        }
    
        /**
         *    This constructor is here to implement cloneability of this class.
         */
        private MD4 (MD4 md) {
            this();
            context = (int[])md.context.clone();
            buffer = (byte[])md.buffer.clone();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9.3K bytes
    - Viewed (0)
  2. src/crypto/crypto.go

    type Hash uint
    
    // HashFunc simply returns the value of h so that [Hash] implements [SignerOpts].
    func (h Hash) HashFunc() Hash {
    	return h
    }
    
    func (h Hash) String() string {
    	switch h {
    	case MD4:
    		return "MD4"
    	case MD5:
    		return "MD5"
    	case SHA1:
    		return "SHA-1"
    	case SHA224:
    		return "SHA-224"
    	case SHA256:
    		return "SHA-256"
    	case SHA384:
    		return "SHA-384"
    	case SHA512:
    		return "SHA-512"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmUtil.java

            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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 9.7K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
Back to top