Class NTLMEngineImpl.MD4

  • Enclosing class:
    NTLMEngineImpl

    static class NTLMEngineImpl.MD4
    extends java.lang.Object
    Cryptography support - MD4. The following class was based loosely on the RFC and on code found at http://www.cs.umd.edu/~harry/jotp/src/md.java. Code correctness was verified by looking at MD4.java from the jcifs library (http://jcifs.samba.org). It was massaged extensively to the final form found here by Karl Wright (kwright@metacarta.com).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int A  
      (package private) int B  
      (package private) int C  
      (package private) long count  
      (package private) int D  
      (package private) byte[] dataBuffer  
    • Constructor Summary

      Constructors 
      Constructor Description
      MD4()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) byte[] getOutput()  
      (package private) void processBuffer()  
      (package private) void round1​(int[] d)  
      (package private) void round2​(int[] d)  
      (package private) void round3​(int[] d)  
      (package private) void update​(byte[] input)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • A

        int A
      • B

        int B
      • C

        int C
      • D

        int D
      • count

        long count
      • dataBuffer

        final byte[] dataBuffer
    • Constructor Detail

      • MD4

        MD4()
    • Method Detail

      • update

        void update​(byte[] input)
      • getOutput

        byte[] getOutput()
      • processBuffer

        void processBuffer()
      • round1

        void round1​(int[] d)
      • round2

        void round2​(int[] d)
      • round3

        void round3​(int[] d)