Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getAnsiHash (0.64 sec)

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

         * @throws GeneralSecurityException if a security error occurs
         * @deprecated NTLMv1 is insecure. Use NTLMv2 (LM compatibility level 3 or higher)
         */
        @Deprecated
        public byte[] getAnsiHash(CIFSContext tc, byte[] chlng) throws GeneralSecurityException {
            int compatibility = tc.getConfig().getLanManCompatibility();
    
            // Log warning for insecure NTLMv1 usage
            if (compatibility < 3) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        /**
         * Computes the 24 byte ANSI password hash given the 8 byte server challenge.
         *
         * @param challenge the server challenge bytes
         * @return the ANSI password hash
         */
        public byte[] getAnsiHash(final byte[] challenge) {
            if (hashesExternal) {
                return ansiHash;
            }
            switch (LM_COMPATIBILITY) {
            case 0:
            case 1:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
Back to top